Code

git-gui: Don't crash when starting gitk from a browser session
authorShawn O. Pearce <spearce@spearce.org>
Tue, 2 Oct 2007 16:27:32 +0000 (12:27 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 3 Oct 2007 04:16:04 +0000 (00:16 -0400)
commit906ab7f6c03764423adef6c0e4d77442405adc23
treea8edc94d933b81025462bafece5176f447485acf
parent501e4c6f23378aca2ce14ba4bc3eebeccb92e8d7
git-gui: Don't crash when starting gitk from a browser session

If the user has started git-gui from the command line as a browser
we offer the gitk menu options but we didn't create the main status
bar widget in the "." toplevel.  Trying to access it while starting
gitk just results in Tcl errors.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh