summaryrefslogtreecommitdiff
path: root/t/lib-pack.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-05-20 04:30:25 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-20 18:32:58 +0900
commita3ba6bf10abcaed1819d27fa45675c3a0e141f95 (patch)
treec12010db2c18156130f55cdc36a8d369da4817d5 /t/lib-pack.sh
parentGit 2.10.3 (diff)
downloadtgif-a3ba6bf10abcaed1819d27fa45675c3a0e141f95.tar.xz
revision.c: ignore broken tags with ignore_missing_links
When peeling a tag for prepare_revision_walk(), we do not respect the ignore_missing_links flag. This can lead to a bogus error when pack-objects walks the possibly-broken unreachable-but-recent part of the object graph. The other link-following all happens via traverse_commit_list(), which explains why this case was missed. And our tests covered only broken links from commits. Let's be more comprehensive and cover broken tree entries (which do work) and tags (which shows off this bug). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-pack.sh')
0 files changed, 0 insertions, 0 deletions