gitweb: Fix snapshots requested via PATH_INFO
authorHolger Weiß <holger@zedat.fu-berlin.de>
Tue, 31 Mar 2009 16:16:36 +0000 (18:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 10:42:23 +0000 (03:42 -0700)
commitccb4b5391382f4cdb5e5be49036e82e7d837b7af
tree25d057cb17202f1a75dd045d40c8de81b9d70029
parent21590d5262f71b336926a9d2cec5b04b0aa6c4a0
gitweb: Fix snapshots requested via PATH_INFO

Fix the detection of the requested snapshot format, which failed for
PATH_INFO URLs since the references to the hashes which describe the
supported snapshot formats weren't dereferenced appropriately.

Signed-off-by: Holger Weiß <holger@zedat.fu-berlin.de>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl