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

Re: GIT 1.5.0 binary installer available.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 16, 2007, 04:23 UTC
Message-ID
<Pine.LNX.4.63.0702160517390.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20070215201249.GA27526@spearce.org>
Hi,
On Thu, 15 Feb 2007, Shawn O. Pearce wrote:
Show 5 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > I already made a minimal change to git-gui so you can choose the directory 
> > to start from.
> 
> Do post, when ready.  ;-)
ATM it looks like this:
-- snip --
 git-gui/git-gui.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index f5010dd..ed5cd82 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -291,6 +291,11 @@ proc ask_popup {msg} {
 ##
 ## repository setup
 
+if { [is_Windows] && ![is_Cygwin] } {
+	set repo_dir [tk_chooseDirectory -title "Choose a Git repository" -mustexist 1]
+	cd $repo_dir
+}
+
 if {   [catch {set _gitdir $env(GIT_DIR)}]
 	&& [catch {set _gitdir [exec git rev-parse --git-dir]} err]} {
 	catch {wm withdraw .}
-- snap --

However, I am still wondering what to make of the silly behaviour I 
observed earlier: the PATH was forgotten either by "sh" being called from 
"cmd", or by "wish84" being called from "sh".

But the strangest part about it: if I replaced the program names with 
their absolute path, then the command line options would _not_ be ignored. 
Strange.

If I get that fsck up fixed, I'd like to work with Han-Wen on enhancing 
his installer (which is nice!) with wish, bash, perl, and a shortcut to 
git-gui in Start Menu/Git/Git GUI.

BTW any news on the integration of gitk in git-gui?

Ciao,
Dscho
Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 6 of 12 in “MinGW port updated to GIT 1.5.0”
  1. Johannes SixtFeb 15, 2007
  2. GIT 1.5.0 binary installer available.Han-Wen Nienhuys, Feb 15, 2007
  3. Johannes SchindelinFeb 15, 2007
  4. Johannes SchindelinFeb 15, 2007
  5. Shawn O. PearceFeb 15, 2007
  6. Johannes SchindelinFeb 16, 2007
  7. Shawn O. PearceFeb 16, 2007
  8. Marco CostalbaFeb 16, 2007
  9. Junio C HamanoFeb 15, 2007
  10. Junio C HamanoFeb 15, 2007
  11. Johannes SchindelinFeb 15, 2007
  12. Robin RosenbergFeb 15, 2007

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.