This reverts commit b01d4326040ec6b9d98baba32091c9458fc809d4. This workaround for the Windows Explorer is not necessary anymore, because git-gui has learnt to deal with the .git directory in commit 87cd09f4 (git-gui: work from the .git dir, 2010-01-23). --- windows/git-gui.sh | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/windows/git-gui.sh b/windows/git-gui.sh index 66bbb2f..53c3a94 100644 --- a/windows/git-gui.sh +++ b/windows/git-gui.sh @@ -3,12 +3,7 @@ exec wish "$0" -- "$@" if { $argc >=2 && [lindex $argv 0] == "--working-dir" } { - set workdir [lindex $argv 1] - cd $workdir - if {[lindex [file split $workdir] end] eq {.git}} { - # Workaround for Explorer right click "Git GUI Here" on .git/ - cd .. - } + cd [lindex $argv 1] set argv [lrange $argv 2 end] incr argc -2 } -- 1.7.0.2.201.gbb6c1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html