aboutsummaryrefslogtreecommitdiff
path: root/diffcore-order.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-10-15 18:40:37 -0400
committerJunio C Hamano <gitster@pobox.com>2014-10-16 10:10:40 -0700
commit3725427945657da052f2f833f5fd4616c949be3e (patch)
treea43fa1c991ee8f077b3e0b73c686bd59c281dda1 /diffcore-order.c
parent27e1e22d5ee3005f228b67ea94b5af29547b54fe (diff)
downloadgit-3725427945657da052f2f833f5fd4616c949be3e.tar.gz
git-3725427945657da052f2f833f5fd4616c949be3e.tar.xz
reachable: mark index blobs as SEEN
When we mark all reachable objects for pruning, that includes blobs mentioned by the index. However, we do not mark these with the SEEN flag, as we do for objects that we find by traversing (we also do not add them to the pending list, but that is because there is nothing further to traverse with them). This doesn't cause any problems with prune, because it checks only that the object exists in the global object hash, and not its flags. However, let's mark these objects to be consistent and avoid any later surprises. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-order.c')
0 files changed, 0 insertions, 0 deletions