diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2014-09-12 10:08:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-12 11:04:13 -0700 |
commit | f99b7af661f89865f918e52223a3bdaf312a0de0 (patch) | |
tree | cd124285c3bbaba403b90b73c289b44ef379f8fa /t/t3311-notes-merge-fanout.sh | |
parent | Add regression tests for stricter tag fsck'ing (diff) | |
download | tgif-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/t3311-notes-merge-fanout.sh')
0 files changed, 0 insertions, 0 deletions