git-upload-pack: More efficient usage of the has_sha1 array
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 23 Oct 2005 01:36:06 +0000 (03:36 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 24 Oct 2005 22:13:36 +0000 (15:13 -0700)
commit794f9fe7db30e2aff8f8f0543c6d18bf579cdbc2
tree0fde599575753f49fccbeb61d79d3000f296503a
parent35eb2d36418a25f9e956b116a622d8d99f4abad9
git-upload-pack: More efficient usage of the has_sha1 array

This patch is based on Junio's proposal. It marks parents of common revs
so that they do not clutter up the has_sha1 array.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
upload-pack.c