From: Shawn O. Pearce Date: Sat, 14 Apr 2007 19:10:48 +0000 (-0400) Subject: git-gui: Display the directory basename in the title X-Git-Tag: v1.5.2-rc0~38^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19c821487b28f56180290aa7d1f30e6bd5316225;p=git.git 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 --- diff --git a/git-gui.sh b/git-gui.sh index ef5960cda..94067cc5f 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -5968,7 +5968,7 @@ unset i set file_lists($ui_index) [list] set file_lists($ui_workdir) [list] -wm title . "[appname] ([file normalize [file dirname [gitdir]]])" +wm title . "[appname] ([reponame]) [file normalize [file dirname [gitdir]]]" focus -force $ui_comm # -- Warn the user about environmental problems. Cygwin's Tcl