diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-09-01 21:58:29 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-09-01 21:58:29 -0400 |
commit | fc703c209d415fe20ad5551465b5b68b8ab8b046 (patch) | |
tree | fac5252eeb50c936f4ca26f82aaca25bf5420fe8 /lib | |
parent | c80d25dbce759a8483ffc1f085fdf4cd63cf9f05 (diff) | |
download | git-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