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