Code

gitweb: Use $hash_base as $search_hash if possible
authorTimo Hirvonen <tihirvon@gmail.com>
Tue, 20 Jun 2006 13:41:05 +0000 (16:41 +0300)
committerJunio C Hamano <junkio@cox.net>
Thu, 22 Jun 2006 09:23:12 +0000 (02:23 -0700)
commit4c5c20261c5403650a31a91ebce0cc9444182383
tree569dce9b9225a2a88a5b79070be339a927c3b928
parent49f582a0401f3b9b9a80ff6fe0dd601520579b7d
gitweb: Use $hash_base as $search_hash if possible

$hash (h parameter) does not always point to a commit. Use $hash_base as
$search_hash when it is defined.

Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi