git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Mar 15, 2010, 23:20 UTC
Message-ID
<1268695225-8915-1-git-send-email-markus.heidelberg@web.de>
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
Next: Markus Heidelberg
Message 1 of 2 in “Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"”
  1. Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"Markus Heidelberg, Mar 15, 2010
  2. Revert "git-gui (Win): make starting via "Git GUI Here" on .git/ possible"Markus Heidelberg, Mar 15, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.