{"thread":{"id":"16272","subject":"problem with git gui on cygwin.","startedAt":"2008-11-11T16:04:18Z","lastAt":"2008-11-13T21:06:15Z","messageCount":6,"participants":["Jim Jensen","Shawn O. Pearce","Alex Riesen","tejus das","Pascal Obry"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"95461","messageId":"loom.20081111T155614-227@post.gmane.org","threadId":"16272","inReplyTo":null,"subject":"problem with git gui on cygwin.","fromName":"Jim Jensen","fromEmail":"jhjjhjjhj@gmail.com","sentAt":"2008-11-11T16:04:18Z","receivedAt":"2008-11-11T16:04:18Z","isPatch":false,"sender":{"key":"jhjjhjjhj@gmail.com","avatar":null},"body":"I have been trying to use git for a small project using cygwin.  I copied my\nrepository from one windows XP system to a Vista system using a usb drive.  On\nthe new system when I use \"git gui\" I get a pop up that says \"Git directory not\nfound: .git\"\n\nThis happens with git gui and gitk.  The command line programs I tried, git show\nand git status appear to work.\n\nI updated cygwin and have git version 1.6.0.2.\n\nDoes anyone know what the problem is?\n"},{"id":"95464","messageId":"20081111170557.GI2932@spearce.org","threadId":"16272","inReplyTo":"loom.20081111T155614-227@post.gmane.org","subject":"Re: problem with git gui on cygwin.","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-11-11T17:05:57Z","receivedAt":"2008-11-11T17:05:57Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jim Jensen <jhjjhjjhj@gmail.com> wrote:\n> I have been trying to use git for a small project using cygwin.  I copied my\n> repository from one windows XP system to a Vista system using a usb drive.  On\n> the new system when I use \"git gui\" I get a pop up that says \"Git directory not\n> found: .git\"\n> \n> This happens with git gui and gitk.  The command line programs I tried, git show\n> and git status appear to work.\n\nHuh.  Sounds like the Tcl/Tk process isn't spawning the Cygwin git\nprocess in the right directory or something.  Weird that both git-gui\nand gitk are giving you errors; usually its git-gui that is being\nparanoid about the repository structure and gitk works just fine.\n\nYou can try starting `git gui --trace` and see if that tells you\nany more detail, but it doesn't show cwd so it may not be all that\nuseful to help you debug it.\n\n-- \nShawn.\n"},{"id":"95478","messageId":"20081111180817.GA7589@blimp.localdomain","threadId":"16272","inReplyTo":"20081111170557.GI2932@spearce.org","subject":"Re: problem with git gui on cygwin.","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2008-11-11T18:08:17Z","receivedAt":"2008-11-11T18:08:17Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Shawn O. Pearce, Tue, Nov 11, 2008 18:05:57 +0100:\n> Jim Jensen <jhjjhjjhj@gmail.com> wrote:\n> > I have been trying to use git for a small project using cygwin.  I copied my\n> > repository from one windows XP system to a Vista system using a usb drive.  On\n> > the new system when I use \"git gui\" I get a pop up that says \"Git directory not\n> > found: .git\"\n> > \n> > This happens with git gui and gitk.  The command line programs I tried, git show\n> > and git status appear to work.\n> \n> Huh.  Sounds like the Tcl/Tk process isn't spawning the Cygwin git\n> process in the right directory or something.  Weird that both git-gui\n> and gitk are giving you errors; usually its git-gui that is being\n> paranoid about the repository structure and gitk works just fine.\n> \n> You can try starting `git gui --trace` and see if that tells you\n> any more detail, but it doesn't show cwd so it may not be all that\n> useful to help you debug it.\n> \n\nMaybe the fact that wish is not a cygwin application (doesn't use use\ncygwin1.dll) is a hint?\n"},{"id":"95569","messageId":"loom.20081112T142853-15@post.gmane.org","threadId":"16272","inReplyTo":"loom.20081111T155614-227@post.gmane.org","subject":"Re: problem with git gui on cygwin.","fromName":"Jim Jensen","fromEmail":"jhjjhjjhj@gmail.com","sentAt":"2008-11-12T15:37:08Z","receivedAt":"2008-11-12T15:37:08Z","isPatch":false,"sender":{"key":"jhjjhjjhj@gmail.com","avatar":null},"body":"Jim Jensen <jhjjhjjhj <at> gmail.com> writes:\n\n\n\nSome further information:\n\ngit gui --trace doesn't seem to do anything.\n\nI copied the tree from the directory it was in :\n/cygdrive/c/Docume~1/dad/Desktop/cyghome/javt\n\nto: /javt\n\nand gitk started working.  \nIn this directory git-gui give the following error:\n\ncouldn't execute \"C:\\cygwin\\usr\\sbin\\git-core\\git-update-index.exe\":\n invalid argument\ncouldn't execute \"C:\\cygwin\\usr\\sbin\\git-core\\git-update-index.exe\":\n invalid\nargument\n    while executing\n\"error $err\"\n    (procedure \"_open_stdout_stderr\" line 16)\n    invoked from within\n\"_open_stdout_stderr [concat $opt $cmdp $args\"\n    (procedure \"git_read\" line 26)\n    invoked from within\n\"git_read update-index  -q  --unmerged  --ignore-missing  --refresh  \"\n    (procedure \"rescan\" line 39)\n    invoked from within\n\"rescan ui_ready\"\n    (procedure \"do_rescan\" line 2)\n    invoked from within\n\"do_rescan\"\n    (\"after\" script)\n\nAny more ideas on things to try?\n"},{"id":"95723","messageId":"loom.20081113T201150-516@post.gmane.org","threadId":"16272","inReplyTo":"loom.20081112T142853-15@post.gmane.org","subject":"Re: problem with git gui on cygwin.","fromName":"tejus das","fromEmail":"tejusdas@gmail.com","sentAt":"2008-11-13T20:15:56Z","receivedAt":"2008-11-13T20:15:56Z","isPatch":false,"sender":{"key":"tejusdas@gmail.com","avatar":null},"body":"Jim Jensen <jhjjhjjhj <at> gmail.com> writes:\n\n> \n> Jim Jensen <jhjjhjjhj <at> gmail.com> writes:> \n> Any more ideas on things to try?\n> \n> \n\ntry running cygwin as windows administrator.. i see the same problem on \nvista... works when i run as admin\n"},{"id":"95728","messageId":"491C96C7.6090904@obry.net","threadId":"16272","inReplyTo":"loom.20081111T155614-227@post.gmane.org","subject":"Re: problem with git gui on cygwin.","fromName":"Pascal Obry","fromEmail":"pascal@obry.net","sentAt":"2008-11-13T21:06:15Z","receivedAt":"2008-11-13T21:06:15Z","isPatch":false,"sender":{"key":"pascal@obry.net","avatar":"https://avatars.githubusercontent.com/u/467069?v=4"},"body":"Jim Jensen a écrit :\n> I have been trying to use git for a small project using cygwin.  I copied my\n> repository from one windows XP system to a Vista system using a usb drive.  On\n> the new system when I use \"git gui\" I get a pop up that says \"Git directory not\n> found: .git\"\n\nI had some problems with Git UI and Tk. It does not look like the\nproblem you have but we never know. Can you try:\n\n   $ CYGWIN=\"\" gitk\n\n-- \n\n--|------------------------------------------------------\n--| Pascal Obry                           Team-Ada Member\n--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE\n--|------------------------------------------------------\n--|              http://www.obry.net\n--| \"The best way to travel is by means of imagination\"\n--|\n--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595\n"}]}