Code

stat_tracking_info(): clear object flags used during counting
authorJunio C Hamano <gitster@pobox.com>
Thu, 3 Jul 2008 19:09:48 +0000 (12:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Jul 2008 19:14:53 +0000 (12:14 -0700)
commitc0234b2ef6a8eaa27d9d93c4c96b36d9e82ebf9c
tree9b6c8bfc8ce385e98044ebe5bed9ed7676d0f0ae
parent94fcb730ff665d356689f3d30e20e0fd75c6f62f
stat_tracking_info(): clear object flags used during counting

When left-right traversal counts the commits in a diverged history, it
leaves the flags in the commits smudged, and we need to clear them before
we return.  Otherwise the caller cannot inspect other branches with this
function again.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c
revision.h
t/t6040-tracking-info.sh [new file with mode: 0755]