diff options
| author | Dennis Stosberg <dennis@stosberg.net> | 2006-08-31 21:32:45 +0200 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-08-31 12:48:37 -0700 |
| commit | 3a36bc846949df8a7fb0ad9b2fc8ffe294cdca7c (patch) | |
| tree | 5930ac3b5af4d1be286e4f226263db041c4e43fc /gitweb/gitweb.perl | |
| parent | log-tree.c: cleanup a bit append_signoff() (diff) | |
| download | git-3a36bc846949df8a7fb0ad9b2fc8ffe294cdca7c.tar.gz git-3a36bc846949df8a7fb0ad9b2fc8ffe294cdca7c.zip | |
gitweb: Remove forgotten call to git_to_hash
On Aug 27th, Jakub Narebski sent a patch which removed the git_to_hash()
function and this call to it. The patch did not apply cleanly and had to
be applied manually. Removing the last chunk has obviously been forgotten.
See: commit 0aea33762b1262d11fb43eda9f3fc152b5622cca and
message <200608272345.26722.jnareb@gmail.com>
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/gitweb.perl')
| -rwxr-xr-x | gitweb/gitweb.perl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 9324d71ebe..68f40bda8f 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2778,10 +2778,6 @@ sub git_blobdiff { @difftree or die_error('404 Not Found', "Blob diff not found"); - } elsif (defined $hash) { # try to find filename from $hash - if ($hash !~ /[0-9a-fA-F]{40}/) { - $hash = git_to_hash($hash); - } } elsif (defined $hash && $hash =~ /[0-9a-fA-F]{40}/) { # try to find filename from $hash |
