Staging
v0.5.0
https://github.com/git/git
Revision b9e7efb8b5f7d424466dd1ce61fd20658f60543f authored by Shawn O. Pearce on 17 May 2007, 22:01:50 UTC, committed by Shawn O. Pearce on 17 May 2007, 22:10:26 UTC
Petr Baudis pointed out the main git.git repository's Makefile dies
now if git-gui 0.7.0-rc1 or later is being used and TCL_PATH was not
set to a working tclsh program path.  This breaks people who may have
a working build configuration today and suddenly upgrade to the latest
git release.

The tclIndex is required for git-gui to load its associated lib files,
but using the Tcl auto_load procedure to source only the files we need
is a performance optimization.  We can emulate the auto_load by just
source'ing every file in that directory, assuming we source class.tcl
first to initialize our crude class system.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent d6da71a
History
Tip revision: b9e7efb8b5f7d424466dd1ce61fd20658f60543f authored by Shawn O. Pearce on 17 May 2007, 22:01:50 UTC
git-gui: Gracefully handle bad TCL_PATH at compile time
Tip revision: b9e7efb
File Mode Size
lib
.gitignore -rw-r--r-- 62 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 3.2 KB
git-gui.sh -rwxr-xr-x 55.6 KB

back to top