From: Yann Dirson <ydirson@free.fr>
To: GIT list <git@vger.kernel.org>
Subject: [BUG] rebase not recovering gracefully from repack error
Date: Sun, 8 Sep 2013 22:46:43 +0200 [thread overview]
Message-ID: <20130908204643.GD8767@home.lan> (raw)
(patches|REBASE 8/9)$ git rebase --continue
Applying: Check for __unix__ instead of __linux
Applying: Completely disable crash handler on archs other than i386 and amd64
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
error: Could not read a7d470051f53f4e4c9247df752583868a79ec70b
fatal: Failed to traverse parents of commit e6d2f264969207e337953717c260d37daa0a8554
error: failed to run repack
(patches|REBASE 10/9)$ cat .git/rebase-apply/next
10
(patches|REBASE 10/9)$
The last patch has been dealt with and I consider the rebase done.
Rebase would be bombing out without cleaning behind it when the auto
repack fails ?
On another aspect, I find the repack error is suspect: "git fsck
--no-dangling" has nothing to complain about, and the missing commit
is the real ancestor of a grafted commit. I suppose it has been gc'd
by a buggy git version, as I recall seeing such a fix on the list some
time ago. (yes, I shouldn't be using grafts any more, but that
particular one dates back to 2006 ;)
--
Yann
[v1.8.4]
reply other threads:[~2013-09-08 20:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130908204643.GD8767@home.lan \
--to=ydirson@free.fr \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).