git-gui: Display the directory basename in the title
By showing the basename of the directory very early in the title bar I can more easily locate a particular git-gui session when I have 8 open at once and my Windows taskbar is overflowing with items. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Apr 14, 2007 at 15:10 UTC
19c821487b28f56180290aa7d1f30e6bd5316225
1 file changed
+1
-1
git-gui.sh
+1
-1
@@ -5968,7 +5968,7 @@ unset i
5968
set file_lists($ui_index) [list]
5969
set file_lists($ui_workdir) [list]
5970
5971
-wm title . "[appname] ([file normalize [file dirname [gitdir]]])"
5971
+wm title . "[appname] ([reponame]) [file normalize [file dirname [gitdir]]]"
5972
focus -force $ui_comm
5973
5974
# -- Warn the user about environmental problems. Cygwin's Tcl