Clean up reflog unreachability pruning decision
commit9ffb15d52a33444652c136681c0b720547c43cbe
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Mar 2009 16:45:22 +0000 (31 09:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Apr 2009 19:31:56 +0000 (19 12:31 -0700)
tree1f08891da4781fd1fe47c6ea966986f5d41c6b1e
parent3bd1bb327eb4d3e386800897734f9f42b48280ff
Clean up reflog unreachability pruning decision

This clarifies the pruning rules for unreachable commits by having a
separate helpder function for the unreachability decision.

It's preparation for actual bigger changes to come to speed up the
decision when the reachability calculations become a bottleneck.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-reflog.c