{"thread":{"id":"22369","subject":"git push failed","startedAt":"2010-01-24T17:52:04Z","lastAt":"2010-01-24T23:35:41Z","messageCount":2,"participants":["Björn Gustavsson","Jay Soffian"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"132546","messageId":"6672d0161001240952s7f7629a6v48f5756c083b95b5@mail.gmail.com","threadId":"22369","inReplyTo":null,"subject":"git push failed","fromName":"Björn Gustavsson","fromEmail":"bgustavsson@gmail.com","sentAt":"2010-01-24T17:52:04Z","receivedAt":"2010-01-24T17:52:04Z","isPatch":false,"sender":{"key":"bgustavsson@gmail.com","avatar":"https://avatars.githubusercontent.com/u/74840?v=4"},"body":"With git built from master (v1.6.6.1-436-gaba7dea),\nthe following commands (run in a script):\n\n  git commit --amend -m \"Update index.html\" index.html\n  git push erlang +gh-pages\n\nfailed like this:\n\nCounting objects: 4, done.\nDelta compression using up to 8 threads.\nCompressing objects: 100% (2/2), done.\nWriting objects: 100% (3/3), 3.85 KiB, done.\nTotal 3 (delta 0), reused 0 (delta 0)\nerror: Ref refs/heads/gh-pages is at\ndb10c045e068f12aa2f78377fab31e35a8443ca4 but expected\n054136d96494979b42524a4dc08ef643bb54cc0e\nerror: failed to lock refs/heads/gh-pages\nTo git@erlang_github.com:erlang/otp.git\n ! [remote rejected] gh-pages -> gh-pages (failed to lock)\nerror: failed to push some refs to 'git@erlang_github.com:erlang/otp.git'\n\nUnfortunately (from the point of view of finding the bug), the\nproblem is not reproducible. When I ran my script two more times,\nit worked fine.\n\nWe all know how difficult it is to investigate non-reproducible bugs,\nbut perhaps someone familiar with the code might have some idea\nabout what it could be.\n\nInfo about my system:\n\nMac OS X 10.2.6 (8 cores)\ngcc-4.2.1\n\n-- \nBjörn Gustavsson, Erlang/OTP, Ericsson AB\n"},{"id":"132567","messageId":"76718491001241535n7c47e898mbade26caa312b9db@mail.gmail.com","threadId":"22369","inReplyTo":"6672d0161001240952s7f7629a6v48f5756c083b95b5@mail.gmail.com","subject":"Re: git push failed","fromName":"Jay Soffian","fromEmail":"jaysoffian@gmail.com","sentAt":"2010-01-24T23:35:41Z","receivedAt":"2010-01-24T23:35:41Z","isPatch":false,"sender":{"key":"jaysoffian@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155970?v=4"},"body":"2010/1/24 Björn Gustavsson <bgustavsson@gmail.com>:\n> With git built from master (v1.6.6.1-436-gaba7dea),\n> the following commands (run in a script):\n>\n>  git commit --amend -m \"Update index.html\" index.html\n>  git push erlang +gh-pages\n>\n> failed like this:\n>\n> Counting objects: 4, done.\n> Delta compression using up to 8 threads.\n> Compressing objects: 100% (2/2), done.\n> Writing objects: 100% (3/3), 3.85 KiB, done.\n> Total 3 (delta 0), reused 0 (delta 0)\n> error: Ref refs/heads/gh-pages is at\n> db10c045e068f12aa2f78377fab31e35a8443ca4 but expected\n> 054136d96494979b42524a4dc08ef643bb54cc0e\n> error: failed to lock refs/heads/gh-pages\n> To git@erlang_github.com:erlang/otp.git\n>  ! [remote rejected] gh-pages -> gh-pages (failed to lock)\n> error: failed to push some refs to 'git@erlang_github.com:erlang/otp.git'\n>\n> Unfortunately (from the point of view of finding the bug), the\n> problem is not reproducible. When I ran my script two more times,\n> it worked fine.\n>\n> We all know how difficult it is to investigate non-reproducible bugs,\n> but perhaps someone familiar with the code might have some idea\n> about what it could be.\n>\n> Info about my system:\n>\n> Mac OS X 10.2.6 (8 cores)\n> gcc-4.2.1\n\nAs another data point, I've noticed the same issue pushing from one\nMac OS X 10.6.2 system to another. However, the remote end is updated\nproperly (if you push again you'll see there's nothing to update), so\nI've not bothered to dig into what the cause might be.\n\nj.\n"}]}