Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"
PATCH 1/1 Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"
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(-)
windows/git-gui.sh +1 -6
@@ -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 }
Signature · 1 line
1.7.0.2.201.gbb6c1
PATCH RESEND 1/1 Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"
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).
Signed-off-by Markus Heidelberg <[email protected]>
---
Resend with Signoff.
windows/git-gui.sh | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
windows/git-gui.sh +1 -6
@@ -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 }
Signature · 1 line
1.7.0.2.201.gbb6c1