Re: GIT 1.5.0 binary installer available.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 15 Feb 2007, Shawn O. Pearce wrote:

> Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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

-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]