summaryrefslogtreecommitdiff
path: root/t/t4044-diff-index-unique-abbrev.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2014-09-12 10:08:16 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-12 11:04:13 -0700
commitf99b7af661f89865f918e52223a3bdaf312a0de0 (patch)
treecd124285c3bbaba403b90b73c289b44ef379f8fa /t/t4044-diff-index-unique-abbrev.sh
parentAdd regression tests for stricter tag fsck'ing (diff)
downloadtgif-f99b7af661f89865f918e52223a3bdaf312a0de0.tar.xz
Make sure that index-pack --strict checks tag objects
One of the most important use cases for the strict tag object checking is when transfer.fsckobjects is set to true to catch invalid objects early on. This new regression test essentially tests the same code path by directly calling 'index-pack --strict' on a pack containing an tag object without a 'tagger' line. Technically, this test is not enough: it only exercises a code path that *warns*, not one that *fails*. The reason is that hash-object and pack-objects both insist on parsing the tag objects and would fail on invalid tag objects at this time. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4044-diff-index-unique-abbrev.sh')
0 files changed, 0 insertions, 0 deletions