Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/gitk/gitk
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Junio C Hamano committed Jan 15, 2007
2 parents 6e2931a + 5024baa commit 38ebbac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gitk
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
}

Expand Down Expand Up @@ -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 {}} {
Expand Down

0 comments on commit 38ebbac

Please sign in to comment.