]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/describe-blob'
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2025 16:44:37 +0000 (09:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2025 16:44:38 +0000 (09:44 -0700)
commitc64ec662d061f2d496f8e9738b5a71d3d148e95e
treeb7b06b132f0d21a74d060cdb4eea0f6a0f5cfdb8
parentfea9d18c534a445ef6e488d8ee711fa92fa0e6bd
parent7c10e48e81ae63974e3badf3b7df71df74a0640b
Merge branch 'jk/describe-blob'

"git describe <blob>" misbehaves and/or crashes in some corner
cases, which has been taught to exit with failure gracefully.

* jk/describe-blob:
  describe: pass commit to describe_commit()
  describe: handle blob traversal with no commits
  describe: catch unborn branch in describe_blob()
  describe: error if blob not found
  describe: pass oid struct by const pointer
builtin/describe.c