summaryrefslogtreecommitdiff
path: root/git-sh-i18n.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-10-15 18:42:09 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-16 10:10:43 -0700
commitabcb86553d3ec4afffa4e3963089dffe0559740e (patch)
tree4ad24dfe7d40b7b079bd186a77bfabd3c0570f9e /git-sh-i18n.sh
parentpack-objects: refactor unpack-unreachable expiration check (diff)
downloadtgif-abcb86553d3ec4afffa4e3963089dffe0559740e.tar.xz
pack-objects: match prune logic for discarding objects
A recent commit taught git-prune to keep non-recent objects that are reachable from recent ones. However, pack-objects, when loosening unreachable objects, tries to optimize out the write in the case that the object will be immediately pruned. It now gets this wrong, since its rule does not reflect the new prune code (and this can be seen by running t6501 with a strategically placed repack). Let's teach pack-objects similar logic. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-sh-i18n.sh')
0 files changed, 0 insertions, 0 deletions