author | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Jul 2008 19:09:48 +0000 (12:09 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Jul 2008 19:14:53 +0000 (12:14 -0700) | ||
commit | c0234b2ef6a8eaa27d9d93c4c96b36d9e82ebf9c | |
tree | 9b6c8bfc8ce385e98044ebe5bed9ed7676d0f0ae | tree | snapshot |
parent | 94fcb730ff665d356689f3d30e20e0fd75c6f62f | commit | diff |
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>
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 | diff | blob | history | |
revision.h | diff | blob | history | |
t/t6040-tracking-info.sh | [new file with mode: 0755] | blob |