From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: rsbecker@nexbridge.com, 'Curley Joe' <m48cv7wg9w@liamekaens.com>,
git@vger.kernel.org
Subject: Re: git fetch --prune fails with "fatal: bad object"
Date: Tue, 04 Jun 2024 10:50:30 -0700 [thread overview]
Message-ID: <xmqqcyowwqah.fsf@gitster.g> (raw)
In-Reply-To: <20240604104437.GD1781455@coredump.intra.peff.net> (Jeff King's message of "Tue, 4 Jun 2024 06:44:37 -0400")
Jeff King <peff@peff.net> writes:
> These are good examples. I was going to suggest fsck, as well, just
> because I knew it would keep going after seeing bogus results. But more
> interesting is that it is finding things in your example that other
> programs would _not_ find, because it's being more thorough than just
> reading the refs.
True.
I wish for-each-ref and friends had an optional mode that lets them
keep going, but since so many features in them access objects
pointed at by the refs (e.g., "--format='%(objectname:short)'" and
"--no-merged HEAD"), it would be very cumbersome to retrofit such a
mode to the underlying machinery, I suspect.
Thanks.
next prev parent reply other threads:[~2024-06-04 17:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-31 22:34 git fetch --prune fails with "fatal: bad object" Curley Joe
2024-05-31 23:27 ` Junio C Hamano
2024-05-31 23:36 ` rsbecker
2024-06-01 15:53 ` Junio C Hamano
2024-06-04 10:44 ` Jeff King
2024-06-04 17:50 ` Junio C Hamano [this message]
2024-06-05 8:45 ` Jeff King
2024-06-04 20:09 ` Fred Long
2024-06-05 8:47 ` Jeff King
2024-06-05 23:43 ` Fred Long
2024-06-06 1:14 ` Jeff King
2024-06-06 20:12 ` Fred Long
2024-06-08 11:20 ` Jeff King
2024-06-08 21:02 ` Fred Long
2024-06-11 7:31 ` Jeff King
2024-06-13 3:29 ` Fred Long
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=xmqqcyowwqah.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=m48cv7wg9w@liamekaens.com \
--cc=peff@peff.net \
--cc=rsbecker@nexbridge.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.