* Recovery after interrupted repack
@ 2011-10-26 9:15 Hannu Koivisto
2011-11-01 14:49 ` Drew Northup
0 siblings, 1 reply; 2+ messages in thread
From: Hannu Koivisto @ 2011-10-26 9:15 UTC (permalink / raw)
To: git
Hi,
I interrupted git repack -a -f -d and now most commands say "fatal:
bad object HEAD". Additionally an attempt to run git repack again
says a bunch of "error: refs/heads/foo does not point to a valid
object!" messages.
git fsck prints a huge list of "missing blob <sha-1>" lines.
I'm using a Cygwin build of git 1.7.5.1 (I also have a build of the
latest master available).
--
Hannu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Recovery after interrupted repack
2011-10-26 9:15 Recovery after interrupted repack Hannu Koivisto
@ 2011-11-01 14:49 ` Drew Northup
0 siblings, 0 replies; 2+ messages in thread
From: Drew Northup @ 2011-11-01 14:49 UTC (permalink / raw)
To: Hannu Koivisto; +Cc: git
On Wed, 2011-10-26 at 12:15 +0300, Hannu Koivisto wrote:
> Hi,
>
> I interrupted git repack -a -f -d and now most commands say "fatal:
> bad object HEAD". Additionally an attempt to run git repack again
> says a bunch of "error: refs/heads/foo does not point to a valid
> object!" messages.
>
> git fsck prints a huge list of "missing blob <sha-1>" lines.
>
> I'm using a Cygwin build of git 1.7.5.1 (I also have a build of the
> latest master available).
Was the result any different after running git fsck on it? If all else
fails you can probably still use the contents of the reflog to fix
things, but I'm not the best reference on such matters.
--
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-01 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 9:15 Recovery after interrupted repack Hannu Koivisto
2011-11-01 14:49 ` Drew Northup
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox