{"thread":{"id":"22209","subject":"Problem: fatal oops during git fetch","startedAt":"2010-01-13T22:03:43Z","lastAt":"2010-01-14T05:28:39Z","messageCount":2,"participants":["Tilo Schwarz","Dmitry Potapov"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"131538","messageId":"op.u6hrkho1a8ed4e@dellschleppa","threadId":"22209","inReplyTo":null,"subject":"Problem: fatal oops during git fetch","fromName":"Tilo Schwarz","fromEmail":"tilo@tilo-schwarz.de","sentAt":"2010-01-13T22:03:43Z","receivedAt":"2010-01-13T22:03:43Z","isPatch":false,"sender":{"key":"tilo@tilo-schwarz.de","avatar":null},"body":"Dear List,\n\ngit really rocks!\n\nNevertheless, yesterday I stumbled into a problem, I don't understand. I  \nuse git for a software projekt, where up to five different computers are  \ninvolved. On each computer the same git repository is used, main  \ndevelopment happens on one machine, but bug fixes happens also on the  \nother machines. Transfer medium is a USB stick, which I use with 'git  \nfetch', 'git merge' and 'git push'. More than one year nothing strange  \nhappened.\n\nYesterday I tried to fetch bug fixes from one remote machine to the main  \ndevelopment machine being on branch 'test' using\n\ngit fetch remote/test\n\nI got something like\n\nfatal: oops 'SHA1'\nFetch failed\n\nAny ideas what happened here?\n\nI tried various things to fix this without success. I ended up doing 'git  \ncherry-pick' manually on the 5 commits I needed from remote/test, then  \ndiscarded remote/test and pushed my local 'test' to remote. I remember,  \nthat maybe a branch was involved, which was already merged on a remote  \nmachine, but not on the main machine. But up to now git always resolved  \nthese things automagically.\n\nAs a side remark: I wished, the error message would have been a litte bit  \nmore detailed. My attempts to make any google sense out of something like  \n'git fetch fatal oops' failed.\n\nRegards,\n\n     Tilo\n"},{"id":"131582","messageId":"20100114052839.GG10586@dpotapov.dyndns.org","threadId":"22209","inReplyTo":"op.u6hrkho1a8ed4e@dellschleppa","subject":"Re: Problem: fatal oops during git fetch","fromName":"Dmitry Potapov","fromEmail":"dpotapov@gmail.com","sentAt":"2010-01-14T05:28:39Z","receivedAt":"2010-01-14T05:28:39Z","isPatch":false,"sender":{"key":"dpotapov@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6568595?v=4"},"body":"On Wed, Jan 13, 2010 at 11:03:43PM +0100, Tilo Schwarz wrote:\n> \n> Yesterday I tried to fetch bug fixes from one remote machine to the main  \n> development machine being on branch 'test' using\n> \n> git fetch remote/test\n> \n> I got something like\n> \n> fatal: oops 'SHA1'\n> Fetch failed\n> \n> Any ideas what happened here?\n\nMy guess is that the remote repository is corrupted, and the specified SHA1\nobject was not found or it was corrupted. Try to run:\n\n  git fsck --full\n\nin the remote repository.\n\n\nDmitry\n"}]}