{"thread":{"id":"40108","subject":"Bug pushing branch to new remote via SSH","startedAt":"2015-08-16T01:56:13Z","lastAt":"2015-08-16T01:56:13Z","messageCount":1,"participants":["David Dynerman"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"268141","messageId":"m2si7katdu.fsf@block-party.net","threadId":"40108","inReplyTo":null,"subject":"Bug pushing branch to new remote via SSH","fromName":"David Dynerman","fromEmail":"david@block-party.net","sentAt":"2015-08-16T01:56:13Z","receivedAt":"2015-08-16T01:56:13Z","isPatch":false,"sender":{"key":"david@block-party.net","avatar":null},"body":"Hello,\n\nI am encountering a bizarre error message trying to push a branch to a\nnew remote over SSH. The error message is\n\nfatal: packfile name 'remotehost.com' does not end with '.pack'\n\nHere, remotehost.com is the internet domain name of the remote host I'm\ntrying to push to.\n\nObviously pushing to SSH remotes isn't broken generally, so I think this\nis caused by some bad state in my repository. But the error message\nseems odd enough that I think I might be encountering a bug.\n\nIf anyone has any hints on how to resolve this, I'd really appreciate\nit.\n\nOn my laptop, which is running OS X:\n\n$ git fsck\nChecking object directories: 100% (256/256), done.\nChecking objects: 100% (398/398), done.\n\n$ ssh remotehost.com \"git init ~/git/my_repo --bare\"\nInitialized empty Git repository in /home/user/git/my_repo/\n\n$ git remote add remotehost ssh://remotehost.com/home/user/git/my_repo\n\n$ git push remotehost master\nCounting objects: 405, done.\nDelta compression using up to 2 threads.\nCompressing objects: 100% (298/298), done.\nfatal: packfile name 'remotehost.com' does not end with '.pack'\nerror: pack-objects died of signal 13\nerror: failed to push some refs to\n'ssh://remotehost.com/home/user/git/my_repo/'\n\n$ git --version\ngit version 2.2.0\n\n$ ssh remotehost.com \"git --version\"\ngit version 1.7.10.1\n\nThank you very much,\nDavid\n"}]}