[PATCH 0/5] fix segfault and other oddities describing blobs
- From
Jeff King <peff@peff.net>
- Date
- Aug 18, 2025, 20:58 UTC
- Message-ID
- <20250818205812.GA1018043@coredump.intra.peff.net>
- In-Reply-To
- <20250818202140.GA1014353@coredump.intra.peff.net>
On Mon, Aug 18, 2025 at 04:21:40PM -0400, Jeff King wrote:
> I'll send out a few patches in a moment (I guess I summoned some > willpower in the interim).
Here's what I came up with.
[1/5]: describe: pass oid struct by const pointer [2/5]: describe: error if blob not found [3/5]: describe: catch unborn branch in describe_blob() [4/5]: describe: handle blob traversal with no commits [5/5]: describe: pass commit to describe_commit()
builtin/describe.c | 41 +++++++++++++++++++++++++---------------- t/t6120-describe.sh | 14 ++++++++++++++ 2 files changed, 39 insertions(+), 16 deletions(-)
-Peff