Skip to content

Commit 82b2cab

Browse files
olafheringpatthoyts
authored andcommitted
git-gui: sort entries in tclIndex
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. Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Pat Thoyts <[email protected]>
1 parent 4498b3a commit 82b2cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VARS
259259
rm -f $@ ; \
260260
echo '# Autogenerated by git-gui Makefile' >$@ && \
261261
echo >>$@ && \
262-
$(foreach p,$(PRELOAD_FILES) $(ALL_LIBFILES),echo '$(subst lib/,,$p)' >>$@ &&) \
262+
$(foreach p,$(PRELOAD_FILES) $(sort $(ALL_LIBFILES)),echo '$(subst lib/,,$p)' >>$@ &&) \
263263
echo >>$@ ; \
264264
fi
265265

0 commit comments

Comments
 (0)