]> git.ipfire.org Git - thirdparty/git.git/commit
index-pack: test and document --strict=<msg-id>=<severity>...
authorJohn Cai <johncai86@gmail.com>
Thu, 1 Feb 2024 01:38:01 +0000 (01:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Feb 2024 19:09:53 +0000 (11:09 -0800)
commit2811019f47b7b6f4be256598612c3f574d8c242d
tree49bc3b5d23596af9a0f6c6225ea8bd4628734c1f
parent564d0252ca632e0264ed670534a51d18a689ef5d
index-pack: test and document --strict=<msg-id>=<severity>...

5d477a334a (fsck (receive-pack): allow demoting errors to warnings,
2015-06-22) allowed a list of fsck msg to downgrade to be passed to
--strict. However this is a hidden argument that was not documented nor
tested. Though it is true that most users would not call this option
directly, (nor use index-pack for that matter) it is still useful to
document and test this feature.

Reviewed-by: Christian Couder <christian.couder@gmail.com>
Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-index-pack.txt
builtin/index-pack.c
t/t5300-pack-object.sh