]> git.ipfire.org Git - thirdparty/git.git/commit
fsck: consider gpgsig headers expected in tags
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 9 Oct 2025 21:56:24 +0000 (21:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Oct 2025 00:46:14 +0000 (17:46 -0700)
commit51acda73d3ca96b763f0fca3d7b33b4beaef786d
tree91bff081e3468b62982f48cf202d83e141d87923
parentb95c59e21e6afeddc56400e162e818a9312f04d2
fsck: consider gpgsig headers expected in tags

When we're creating a tag, we want to make sure that gpgsig and
gpgsig-sha256 headers are allowed for the commit.  The default fsck
behavior is to ignore the fact that they're left over, but some of our
tests enable strict checking which flags them nonetheless.  Add
improved checking for these headers as well as documentation and several
tests.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/fsck-msgids.adoc
fsck.c
fsck.h
t/t1450-fsck.sh