Fix ref_newer() in send-pack.
authorJunio C Hamano <junkio@cox.net>
Sat, 6 Aug 2005 06:05:33 +0000 (23:05 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 6 Aug 2005 06:05:33 +0000 (23:05 -0700)
commit51b0fca012310910783de76f2eacfd10b0f2f9fc
treec5a349d7c6c3dfe614deea1cc79dee148a98a56b
parent4fa1604f10c4878ae2cfbe4b9419a67d6306bb5d
Fix ref_newer() in send-pack.

When more than two references need to be checked with
ref_newer() function, the second and later calls did not work
correctly.  This was because the later calls found commits
retained by the "struct object" layer that still had smudges
made by earlier calls.

Signed-off-by: Junio C Hamano <junkio@cox.net>
send-pack.c