Update git to v2.10.2

* Fixes #735
* Import *sh completion and XSS patches from openSUSE
This commit is contained in:
Yury Buldakov
2016-11-05 13:15:20 +02:00
parent f65195ba99
commit cf4ac8a7bf
8 changed files with 232 additions and 58 deletions

19
git/git-tclIndex.patch Normal file
View File

@@ -0,0 +1,19 @@
ALL_LIBFILES uses wildcard, which provides the result in directory
order. This order depends on the underlying filesystem on the
buildhost. To get reproducible builds it is required to sort such list
before using them.
---
git-gui/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/git-gui/Makefile
+++ b/git-gui/Makefile
@@ -259,7 +259,7 @@ lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VA
rm -f $@ ; \
echo '# Autogenerated by git-gui Makefile' >$@ && \
echo >>$@ && \
- $(foreach p,$(PRELOAD_FILES) $(ALL_LIBFILES),echo '$(subst lib/,,$p)' >>$@ &&) \
+ $(foreach p,$(PRELOAD_FILES) $(sort $(ALL_LIBFILES)),echo '$(subst lib/,,$p)' >>$@ &&) \
echo >>$@ ; \
fi