git-upload-pack: More efficient usage of the has_sha1 array
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 28 Oct 2005 02:48:32 +0000 (04:48 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 29 Oct 2005 05:56:59 +0000 (22:56 -0700)
commitf0243f26f6d8403cd8e83c7d498c81e01a1f1735
tree54bd7d9209f630a745350edc446a954de6ba632b
parenteebda31d21d5d5df351b41994df875918863294e
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