gitweb: Faster return from git_get_preceding_references if possible
authorJakub Narebski <jnareb@gmail.com>
Thu, 24 Aug 2006 17:39:32 +0000 (19:39 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 Aug 2006 02:39:55 +0000 (19:39 -0700)
commit3066c359c63d1dc32db5147ebf015fe9bba4c5bb
tree1daa7fecc778d62fc4a861a15c652ae947b99f47
parent470b96d4837c5b019f15c8a5b013501724236de4
gitweb: Faster return from git_get_preceding_references if possible

Return on first ref found when git_get_preceding_references
is called in scalar context

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl