Clean up reflog unreachability pruning decision
commit666e07e69703c3930a60fbb1a74ed9923d293f16
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Mar 2009 16:45:22 +0000 (31 09:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2009 19:28:22 +0000 (1 12:28 -0700)
tree932ed472a761b23147b04f4d54c436fc61433867
parent442dd42d6d4903640b0dc5561481a77c88dcea90
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