summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-04-14 19:10:48 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-04-15 04:35:13 (GMT)
commit19c821487b28f56180290aa7d1f30e6bd5316225 (patch)
tree1d797fe5d9faf7134f38919ae39f7e5a84b48123
parentd025d1e322c715ecf7fa7c10ce9e6b4a1be982d0 (diff)
downloadgit-19c821487b28f56180290aa7d1f30e6bd5316225.zip
git-19c821487b28f56180290aa7d1f30e6bd5316225.tar.gz
git-19c821487b28f56180290aa7d1f30e6bd5316225.tar.bz2
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>
-rwxr-xr-xgit-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh
index ef5960c..94067cc 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