* Problem: fatal oops during git fetch
@ 2010-01-13 22:03 Tilo Schwarz
2010-01-14 5:28 ` Dmitry Potapov
0 siblings, 1 reply; 2+ messages in thread
From: Tilo Schwarz @ 2010-01-13 22:03 UTC (permalink / raw)
To: git
Dear List,
git really rocks!
Nevertheless, yesterday I stumbled into a problem, I don't understand. I
use git for a software projekt, where up to five different computers are
involved. On each computer the same git repository is used, main
development happens on one machine, but bug fixes happens also on the
other machines. Transfer medium is a USB stick, which I use with 'git
fetch', 'git merge' and 'git push'. More than one year nothing strange
happened.
Yesterday I tried to fetch bug fixes from one remote machine to the main
development machine being on branch 'test' using
git fetch remote/test
I got something like
fatal: oops 'SHA1'
Fetch failed
Any ideas what happened here?
I tried various things to fix this without success. I ended up doing 'git
cherry-pick' manually on the 5 commits I needed from remote/test, then
discarded remote/test and pushed my local 'test' to remote. I remember,
that maybe a branch was involved, which was already merged on a remote
machine, but not on the main machine. But up to now git always resolved
these things automagically.
As a side remark: I wished, the error message would have been a litte bit
more detailed. My attempts to make any google sense out of something like
'git fetch fatal oops' failed.
Regards,
Tilo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem: fatal oops during git fetch
2010-01-13 22:03 Problem: fatal oops during git fetch Tilo Schwarz
@ 2010-01-14 5:28 ` Dmitry Potapov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Potapov @ 2010-01-14 5:28 UTC (permalink / raw)
To: Tilo Schwarz; +Cc: git
On Wed, Jan 13, 2010 at 11:03:43PM +0100, Tilo Schwarz wrote:
>
> Yesterday I tried to fetch bug fixes from one remote machine to the main
> development machine being on branch 'test' using
>
> git fetch remote/test
>
> I got something like
>
> fatal: oops 'SHA1'
> Fetch failed
>
> Any ideas what happened here?
My guess is that the remote repository is corrupted, and the specified SHA1
object was not found or it was corrupted. Try to run:
git fsck --full
in the remote repository.
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-14 5:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 22:03 Problem: fatal oops during git fetch Tilo Schwarz
2010-01-14 5:28 ` Dmitry Potapov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).