summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-01-27 23:19:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-28 11:00:28 -0800
commitaeeae1b771020f1ac6692f89563e3f8689c704e7 (patch)
tree8c8895b475b98da4a88659afeec5c64ded8c4c44 /git-am.sh
parentsend-pack: do not send unknown object name from ".have" to pack-objects (diff)
downloadtgif-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 'git-am.sh')
0 files changed, 0 insertions, 0 deletions