Code

gitweb.cgi: Show "raw" head of project link even when $hash is not defined
authorLuben Tuikov <ltuikov@yahoo.com>
Sun, 23 Jul 2006 20:30:08 +0000 (13:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 25 Jul 2006 01:21:52 +0000 (18:21 -0700)
commit93d5f0619ccf10d7a16834b9e3be38871d2aae6c
treea2b92082db6950a1f9982bbb58f0b9bb4a18673e
parentcff0771bfbc8a8c1a432a99bc297a52a5ba94304
gitweb.cgi: Show "raw" head of project link even when $hash is not defined

Some callers of git_history() do not set $hash of $file_name.
Add code to find it, if it is not defined.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi