Browse Source

Merge git://git.kernel.org/pub/scm/gitk/gitk

* git://git.kernel.org/pub/scm/gitk/gitk:
  [PATCH] Make gitk work when launched in a subdirectory
  [PATCH] gitk: add current directory to main window title
maint
Junio C Hamano 18 years ago
parent
commit
38ebbacd93
  1. 3
      gitk

3
gitk

@ -12,7 +12,7 @@ proc gitdir {} { @@ -12,7 +12,7 @@ proc gitdir {} {
if {[info exists env(GIT_DIR)]} {
return $env(GIT_DIR)
} else {
return ".git"
return [exec git rev-parse --git-dir]
}
}

@ -6293,6 +6293,7 @@ set stuffsaved 0 @@ -6293,6 +6293,7 @@ set stuffsaved 0
set patchnum 0
setcoords
makewindow
wm title . "[file tail $argv0]: [file tail [pwd]]"
readrefs

if {$cmdline_files ne {} || $revtreeargs ne {}} {

Loading…
Cancel
Save