Thread (23 messages) 23 messages, 5 authors, 2025-08-20
STALE304d

[PATCH 0/5] fix segfault and other oddities describing blobs

From: Jeff King <hidden>
Date: 2025-08-18 20:58:13

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help