Code

cvsserver: detect early of we are up to date and avoid costly rev-list
authorMartin Langhoff <martin@catalyst.net.nz>
Tue, 9 Jan 2007 02:10:32 +0000 (15:10 +1300)
committerJunio C Hamano <junkio@cox.net>
Tue, 9 Jan 2007 05:44:07 +0000 (21:44 -0800)
commit49fb940e4025f36953cd938576ec8306335c6cd0
treea149cce3527f14442c8ced92e358bfc37c4a4154
parent041e69c9984972c51cbf21a70b0327d83dee41db
cvsserver: detect early of we are up to date and avoid costly rev-list

if the SHA1 of our head matches the last SHA1 seen in the DB, avoid further
processing.

[jc: an "Oops, please amend" patch rolled in]

Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsserver.perl