aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-01 21:58:29 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-09-01 21:58:29 -0400
commitfc703c209d415fe20ad5551465b5b68b8ab8b046 (patch)
treefac5252eeb50c936f4ca26f82aaca25bf5420fe8 /lib
parentc80d25dbce759a8483ffc1f085fdf4cd63cf9f05 (diff)
downloadgit-fc703c209d415fe20ad5551465b5b68b8ab8b046.tar.gz
git-fc703c209d415fe20ad5551465b5b68b8ab8b046.tar.xz
git-gui: Locate the library directory early during startup
To support a localized version of git-gui we need to locate the library directory early so we can initialize Tcl's msgcat package to load translated messages from. This needs to occur before we declare our git-version proc so that errors related to locating git or assessing its version can be reported to the end-user in their preferred language. However we have to keep the library loading until after git-version has been declared, otherwise we will fail to start git-gui if we are using a fake tclIndex that was generated by our Makefile. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions