diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-27 23:19:30 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-28 11:00:28 -0800 |
commit | aeeae1b771020f1ac6692f89563e3f8689c704e7 (patch) | |
tree | 8c8895b475b98da4a88659afeec5c64ded8c4c44 /t/t4013/diff.diff-tree_--pretty_--patch-with-raw_initial | |
parent | send-pack: do not send unknown object name from ".have" to pack-objects (diff) | |
download | tgif-aeeae1b771020f1ac6692f89563e3f8689c704e7.tar.xz |
revision traversal: allow UNINTERESTING objects to be missing
Most of the existing codepaths were meant to treat missing uninteresting
objects to be a silently ignored non-error, but there were a few places
in handle_commit() and add_parents_to_list(), which are two key functions
in the revision traversal machinery, that cared:
- When a tag refers to an object that we do not have, we barfed. We
ignore such a tag if it is painted as UNINTERESTING with this change.
- When digging deeper into the ancestry chain of a commit that is already
painted as UNINTERESTING, in order to paint its parents UNINTERESTING,
we barfed if parse_parent() for a parent commit object failed. We can
ignore such a parent commit object.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--patch-with-raw_initial')
0 files changed, 0 insertions, 0 deletions