diff options
author | Jeff King <peff@peff.net> | 2017-05-20 04:30:25 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-20 18:32:58 +0900 |
commit | a3ba6bf10abcaed1819d27fa45675c3a0e141f95 (patch) | |
tree | c12010db2c18156130f55cdc36a8d369da4817d5 /t/t4015-diff-whitespace.sh | |
parent | Git 2.10.3 (diff) | |
download | tgif-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/t4015-diff-whitespace.sh')
0 files changed, 0 insertions, 0 deletions