Vegasman81 / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

OS-X Lion, unable to pull/push/fetch from remote using GUI, works with command line #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Remote: Redmine with gitosis repository set up. Works with (windows/linux) 
machines without a problem.

Local: Macbook Pro with the following installed: Git Installer 1.7.6.1 - OS X - 
Snow Leopard - Intel Universal

What steps will reproduce the problem?
1. Generated ssh keypair on OS X Lion. Added to Redmine Public Keys
2. Push/Pull works with git inside Terminal (command line)
git fetch gitosis@servername.com:repo.git
3. Push/pull does not work inside git-os-x GUI
"gitosis@servername.com:repo.git"

"Fatal: Remote end hung unexpectedly"

Original issue reported on code.google.com by paperWas...@gmail.com on 2 Oct 2011 at 8:30

GoogleCodeExporter commented 8 years ago
Are you sure this is a Git OS X issue?

How are you launching Git GUI?  There's a known issue with it if it doesn't 
have an allocated pseudo terminal then all SSH related operations will fail. 
Try launching it from the terminal?

Original comment by timchar...@gmail.com on 2 Oct 2011 at 10:04

GoogleCodeExporter commented 8 years ago
I believe I opened it from the terminal.

The OS X machine though was upgraded to Lion from Snow Leopard and has a few 
quirks/problems.... 

More reason for me to reinstall cleanly then...  

//Close this issue

Original comment by paperWas...@gmail.com on 2 Oct 2011 at 10:08

GoogleCodeExporter commented 8 years ago
Please don't close this issue.  I'm experiencing the exact same thing.  Before 
seeing this issue, I posted a question on Stackoverflow, in case this is a 
non-Git-GUI issue...

http://stackoverflow.com/questions/9124302/push-with-git-bash-works-but-fails-wi
th-git-gui

So far, no answers.  Anyways, I also have Snow Leopard, and I've installed 
git-1.7.8.4-intel-universal-snow-leopard.dmg.  Same issue.  I can 
pull/push/fetch fine from Git Bash, but it fails when I try with Git Gui.

Original comment by char...@whoischarles.com on 3 Feb 2012 at 10:24

GoogleCodeExporter commented 8 years ago
I think Comment #1 would be the answer.... seeing that your git bash works 
fine(ssh-key works properly with github), but git gui doesn't work... so git 
gui isn't loading your ssh-keys properly....

so try opening git gui from a terminal and see

Original comment by paperWas...@gmail.com on 7 Feb 2012 at 5:32

GoogleCodeExporter commented 8 years ago
I actually did try following the first commenters advice and opened it from the 
terminal before posting here.  Same result.  And as for Git Gui not loading my 
SSH keys properly, when I go Help->Show SSH Key, I indeed see my public key 
there.  Not sure if that's indicative of Git Gui properly loading my SSH key or 
not, but it seems so.  Still not sure what the problem is, though.

Do you know if there is a way to get more verbose output?  I'm wondering if 
there is more information being suppressed that might be helpful.

Original comment by char...@whoischarles.com on 7 Feb 2012 at 6:15

GoogleCodeExporter commented 8 years ago
You can get verbose output using the --trace command line option to git-gui. 
This causes it to log all the git commands it runs to stderr. On Windows you 
can see these if you show the Tk console (Control-F2) - on MacOS - you probably 
need to run it from a terminal.

Original comment by pattho...@gmail.com on 25 May 2012 at 11:29

GoogleCodeExporter commented 8 years ago

Original comment by timchar...@gmail.com on 13 Dec 2012 at 6:15