{"thread":{"id":"13057","subject":"Git (SHA1) problem on Mac","startedAt":"2008-04-10T21:12:36Z","lastAt":"2008-04-10T23:58:24Z","messageCount":3,"participants":["Mark Dodwell"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"74098","messageId":"FAA4D842-DCB2-45B4-AB40-6F7D1F0A0320@mkdynamic.co.uk","threadId":"13057","inReplyTo":null,"subject":"Git (SHA1) problem on Mac","fromName":"Mark Dodwell","fromEmail":"web@mkdynamic.co.uk","sentAt":"2008-04-10T21:12:36Z","receivedAt":"2008-04-10T21:12:36Z","isPatch":false,"sender":{"key":"web@mkdynamic.co.uk","avatar":"https://gravatar.com/avatar/91e71cf72d434c27434b99cafc1148ad7918070ab835bbd90d77703fc6801385?d=mp&s=160"},"body":"Hi,\n\nI've got a problem with Git on my Mac, and I've exhausted Google and  \n#git (irc), perhaps somebody can help?\n\nI'm using git version X installed from source, I'm on Mac OS X 10.4.11.\n\nHere's the problem I'm seeing:\n\n[imac:~]$   mkdir git-test\n[imac:~]$   cd git-test\n[imac:~/git-test]$   git init\nInitialized empty Git repository in .git/\n[imac:~/git-test]$   touch README\n[imac:~/git-test]$   git add README\n[imac:~/git-test]$   git commit -m 'first commit'\nCreated initial commit b6e6cb6: first commit\n  0 files changed, 0 insertions(+), 0 deletions(-)\n  create mode 100644 README\n[imac:~/git-test]$   git remote add origin git@github.com:mkdynamic/ \ngit-test.git\n[imac:~/git-test]$   git push origin master\nCounting objects: 3, done.\nWriting objects: 100% (3/3), 215 bytes, done.\nTotal 3 (delta 0), reused 0 (delta 0)\nfatal: final sha1 did not match\nerror: unpack failed: unpacker exited with error code\nTo git@github.com:mkdynamic/git-test.git\n  ! [remote rejected] master -> master (n/a (unpacker error))\nerror: failed to push some refs to 'git@github.com:mkdynamic/git- \ntest.git'\n\nI can confirm that it is not an issue with the remote repo, as I  \nsimilar 'final sha1 did not match' errors when i try to do local  \nfetches.\n\nAny clues/advice on what to do next?\n\nMany thanks,\n\n~ Mark\n"},{"id":"74099","messageId":"E20ABEF3-4FE8-4E24-A7C6-368432D2A963@mkdynamic.co.uk","threadId":"13057","inReplyTo":"FAA4D842-DCB2-45B4-AB40-6F7D1F0A0320@mkdynamic.co.uk","subject":"Re: Git (SHA1) problem on Mac","fromName":"Mark Dodwell","fromEmail":"web@mkdynamic.co.uk","sentAt":"2008-04-10T21:17:26Z","receivedAt":"2008-04-10T21:17:26Z","isPatch":false,"sender":{"key":"web@mkdynamic.co.uk","avatar":"https://gravatar.com/avatar/91e71cf72d434c27434b99cafc1148ad7918070ab835bbd90d77703fc6801385?d=mp&s=160"},"body":"On 10 Apr 2008, at 22:12, Mark Dodwell wrote:\n\n>\n> I'm using git version X installed from source, I'm on Mac OS X  \n> 10.4.11.\n>\n\nSorry I'm using git version 1.5.4.5 (forgot to paste that over the X!).\n\n~ Mark\n"},{"id":"74106","messageId":"D23E2A3B-EBC4-4983-93F1-D08C7916DEF6@mkdynamic.co.uk","threadId":"13057","inReplyTo":"905315640804101617v25e70d2aw983718cb41c441c9@mail.gmail.com","subject":"Re: Git (SHA1) problem on Mac","fromName":"Mark Dodwell","fromEmail":"web@mkdynamic.co.uk","sentAt":"2008-04-10T23:58:24Z","receivedAt":"2008-04-10T23:58:24Z","isPatch":false,"sender":{"key":"web@mkdynamic.co.uk","avatar":"https://gravatar.com/avatar/91e71cf72d434c27434b99cafc1148ad7918070ab835bbd90d77703fc6801385?d=mp&s=160"},"body":"On 11 Apr 2008, at 00:17, tarmigan wrote:\n> On Thu, Apr 10, 2008 at 2:12 PM, Mark Dodwell <web@mkdynamic.co.uk>  \n> wrote:\n>> Hi,\n>>\n>>  I've got a problem with Git on my Mac, and I've exhausted Google  \n>> and #git\n>> (irc), perhaps somebody can help?\n>>\n>>  I'm using git version X installed from source, I'm on Mac OS X  \n>> 10.4.11.\n>>\n>>  Here's the problem I'm seeing:\n>>\n>>  [imac:~]$   mkdir git-test\n>>  [imac:~]$   cd git-test\n>>  [imac:~/git-test]$   git init\n>>  Initialized empty Git repository in .git/\n>>  [imac:~/git-test]$   touch README\n>>  [imac:~/git-test]$   git add README\n>>  [imac:~/git-test]$   git commit -m 'first commit'\n>>  Created initial commit b6e6cb6: first commit\n>>   0 files changed, 0 insertions(+), 0 deletions(-)\n>>   create mode 100644 README\n>>  [imac:~/git-test]$   git remote add origin\n>> git@github.com:mkdynamic/git-test.git\n>>  [imac:~/git-test]$   git push origin master\n>>  Counting objects: 3, done.\n>>  Writing objects: 100% (3/3), 215 bytes, done.\n>>  Total 3 (delta 0), reused 0 (delta 0)\n>>  fatal: final sha1 did not match\n>>  error: unpack failed: unpacker exited with error code\n>\n> I think I had the same problem yesterday.  Do you have fink installed?\n>  Specifically the openssl packages?  Uninstalling those through fink\n> and recompiling git did the trick for me, though I'm not sure what the\n> real problem was.\n>\n> You should also be able to define NO_FINK as well (see the beginning\n> of the Makefile).\n>\n> Good luck,\n> Tarmigan\n\nThanks so much, that did the trick. I had to remove the openssl  \npackages through fink and then recompile git. Now it works!\n\nThanks,\n\n~ Mark\n"}]}