From: Jonathan Nieder <jrnieder@gmail.com>
To: git@vger.kernel.org
Cc: Anders Kaseorg <andersk@mit.edu>,
Junio C Hamano <gitster@pobox.com>,
Todd Zullinger <tmz@pobox.com>,
Pat Thoyts <patthoyts@users.sourceforge.net>
Subject: [PATCH 2/3] git-gui: sort entries in optimized tclIndex
Date: Tue, 21 Nov 2017 15:36:21 -0800 [thread overview]
Message-ID: <20171121233621.GO3429@aiede.mtv.corp.google.com> (raw)
In-Reply-To: <20171121232935.GM3429@aiede.mtv.corp.google.com>
From: Anders Kaseorg <andersk@mit.edu>
Date: Wed, 16 Nov 2016 16:37:17 -0500
auto_mkindex expands wildcards in directory order, which depends on
the underlying filesystem. To improve build reproducibility, sort the
list of *.tcl files in the Makefile.
The unoptimized loading case was previously fixed in gitgui-0.21.0~14
(git-gui: sort entries in tclIndex, 2015-01-26).
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 918a8de369..f10caedaa7 100644
--- a/Makefile
+++ b/Makefile
@@ -254,7 +254,7 @@ $(ALL_MSGFILES): %.msg : %.po
lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VARS
$(QUIET_INDEX)if echo \
$(foreach p,$(PRELOAD_FILES),source $p\;) \
- auto_mkindex lib '*.tcl' \
+ auto_mkindex lib $(patsubst lib/%,%,$(sort $(ALL_LIBFILES))) \
| $(TCL_PATH) $(QUIET_2DEVNULL); then : ok; \
else \
echo >&2 " * $(TCL_PATH) failed; using unoptimized loading"; \
--
2.15.0.448.gf294e3d99a
next prev parent reply other threads:[~2017-11-21 23:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-21 23:29 [PATCH 0/3] Improving build reproducibility Jonathan Nieder
2017-11-21 23:34 ` [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc Jonathan Nieder
2017-11-22 0:54 ` brian m. carlson
2017-11-22 1:15 ` Jonathan Nieder
2017-11-22 2:50 ` Junio C Hamano
2017-11-22 4:30 ` Anders Kaseorg
2017-11-22 5:07 ` Junio C Hamano
2017-11-22 5:12 ` Jonathan Nieder
2017-11-21 23:36 ` Jonathan Nieder [this message]
2017-11-21 23:38 ` [PATCH 3/3] generate-cmdlist: avoid non-deterministic output Jonathan Nieder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171121233621.GO3429@aiede.mtv.corp.google.com \
--to=jrnieder@gmail.com \
--cc=andersk@mit.edu \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=patthoyts@users.sourceforge.net \
--cc=tmz@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.