git-gui: Display the directory basename in the title
[gitweb.git] / git-gui.sh
index ef5960cdaf66ac559c01cfa695d8bf5e8d441a20..94067cc5f73388f33722d52ae02f44692bc07490 100755 (executable)
@@ -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