git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem with git gui on cygwin.
@ 2008-11-11 16:04 Jim Jensen
  2008-11-11 17:05 ` Shawn O. Pearce
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jim Jensen @ 2008-11-11 16:04 UTC (permalink / raw)
  To: git

I have been trying to use git for a small project using cygwin.  I copied my
repository from one windows XP system to a Vista system using a usb drive.  On
the new system when I use "git gui" I get a pop up that says "Git directory not
found: .git"

This happens with git gui and gitk.  The command line programs I tried, git show
and git status appear to work.

I updated cygwin and have git version 1.6.0.2.

Does anyone know what the problem is?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with git gui on cygwin.
  2008-11-11 16:04 problem with git gui on cygwin Jim Jensen
@ 2008-11-11 17:05 ` Shawn O. Pearce
  2008-11-11 18:08   ` Alex Riesen
  2008-11-12 15:37 ` Jim Jensen
  2008-11-13 21:06 ` Pascal Obry
  2 siblings, 1 reply; 6+ messages in thread
From: Shawn O. Pearce @ 2008-11-11 17:05 UTC (permalink / raw)
  To: Jim Jensen; +Cc: git

Jim Jensen <jhjjhjjhj@gmail.com> wrote:
> I have been trying to use git for a small project using cygwin.  I copied my
> repository from one windows XP system to a Vista system using a usb drive.  On
> the new system when I use "git gui" I get a pop up that says "Git directory not
> found: .git"
> 
> This happens with git gui and gitk.  The command line programs I tried, git show
> and git status appear to work.

Huh.  Sounds like the Tcl/Tk process isn't spawning the Cygwin git
process in the right directory or something.  Weird that both git-gui
and gitk are giving you errors; usually its git-gui that is being
paranoid about the repository structure and gitk works just fine.

You can try starting `git gui --trace` and see if that tells you
any more detail, but it doesn't show cwd so it may not be all that
useful to help you debug it.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with git gui on cygwin.
  2008-11-11 17:05 ` Shawn O. Pearce
@ 2008-11-11 18:08   ` Alex Riesen
  0 siblings, 0 replies; 6+ messages in thread
From: Alex Riesen @ 2008-11-11 18:08 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Jim Jensen, git

Shawn O. Pearce, Tue, Nov 11, 2008 18:05:57 +0100:
> Jim Jensen <jhjjhjjhj@gmail.com> wrote:
> > I have been trying to use git for a small project using cygwin.  I copied my
> > repository from one windows XP system to a Vista system using a usb drive.  On
> > the new system when I use "git gui" I get a pop up that says "Git directory not
> > found: .git"
> > 
> > This happens with git gui and gitk.  The command line programs I tried, git show
> > and git status appear to work.
> 
> Huh.  Sounds like the Tcl/Tk process isn't spawning the Cygwin git
> process in the right directory or something.  Weird that both git-gui
> and gitk are giving you errors; usually its git-gui that is being
> paranoid about the repository structure and gitk works just fine.
> 
> You can try starting `git gui --trace` and see if that tells you
> any more detail, but it doesn't show cwd so it may not be all that
> useful to help you debug it.
> 

Maybe the fact that wish is not a cygwin application (doesn't use use
cygwin1.dll) is a hint?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with git gui on cygwin.
  2008-11-11 16:04 problem with git gui on cygwin Jim Jensen
  2008-11-11 17:05 ` Shawn O. Pearce
@ 2008-11-12 15:37 ` Jim Jensen
  2008-11-13 20:15   ` tejus das
  2008-11-13 21:06 ` Pascal Obry
  2 siblings, 1 reply; 6+ messages in thread
From: Jim Jensen @ 2008-11-12 15:37 UTC (permalink / raw)
  To: git

Jim Jensen <jhjjhjjhj <at> gmail.com> writes:



Some further information:

git gui --trace doesn't seem to do anything.

I copied the tree from the directory it was in :
/cygdrive/c/Docume~1/dad/Desktop/cyghome/javt

to: /javt

and gitk started working.  
In this directory git-gui give the following error:

couldn't execute "C:\cygwin\usr\sbin\git-core\git-update-index.exe":
 invalid argument
couldn't execute "C:\cygwin\usr\sbin\git-core\git-update-index.exe":
 invalid
argument
    while executing
"error $err"
    (procedure "_open_stdout_stderr" line 16)
    invoked from within
"_open_stdout_stderr [concat $opt $cmdp $args"
    (procedure "git_read" line 26)
    invoked from within
"git_read update-index  -q  --unmerged  --ignore-missing  --refresh  "
    (procedure "rescan" line 39)
    invoked from within
"rescan ui_ready"
    (procedure "do_rescan" line 2)
    invoked from within
"do_rescan"
    ("after" script)

Any more ideas on things to try?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with git gui on cygwin.
  2008-11-12 15:37 ` Jim Jensen
@ 2008-11-13 20:15   ` tejus das
  0 siblings, 0 replies; 6+ messages in thread
From: tejus das @ 2008-11-13 20:15 UTC (permalink / raw)
  To: git

Jim Jensen <jhjjhjjhj <at> gmail.com> writes:

> 
> Jim Jensen <jhjjhjjhj <at> gmail.com> writes:> 
> Any more ideas on things to try?
> 
> 

try running cygwin as windows administrator.. i see the same problem on 
vista... works when i run as admin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with git gui on cygwin.
  2008-11-11 16:04 problem with git gui on cygwin Jim Jensen
  2008-11-11 17:05 ` Shawn O. Pearce
  2008-11-12 15:37 ` Jim Jensen
@ 2008-11-13 21:06 ` Pascal Obry
  2 siblings, 0 replies; 6+ messages in thread
From: Pascal Obry @ 2008-11-13 21:06 UTC (permalink / raw)
  To: Jim Jensen; +Cc: git

Jim Jensen a écrit :
> I have been trying to use git for a small project using cygwin.  I copied my
> repository from one windows XP system to a Vista system using a usb drive.  On
> the new system when I use "git gui" I get a pop up that says "Git directory not
> found: .git"

I had some problems with Git UI and Tk. It does not look like the
problem you have but we never know. Can you try:

   $ CYGWIN="" gitk

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-13 21:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 16:04 problem with git gui on cygwin Jim Jensen
2008-11-11 17:05 ` Shawn O. Pearce
2008-11-11 18:08   ` Alex Riesen
2008-11-12 15:37 ` Jim Jensen
2008-11-13 20:15   ` tejus das
2008-11-13 21:06 ` Pascal Obry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).