Hi,

When using %autosetup -S git, it expands to auto add all files to the git index, but if the user like me set a global excludesfile, some files may be excluded, and it will fail to build if those excluded files need to be patched.

May be we can change the macro bellow:
%{__git} add .
to
%{__git} add  -f  .
or
%{__git}  -c core.excludesfile=  add .
to force add all files?

Regards,
Xiaofeng


--
xiaofeng

--
gpg key fingerprint:
2048R/5E63005B
C84F 671F 70B7 7330 4726  5EC8 02BC CBA2 5E63 005B

--
trans-zh_cn mailing list
trans-zh_cn@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn