gitweb: whitespace cleanup

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Jakub Narebski 2006-07-29 22:43:40 +02:00 committed by Junio C Hamano
parent b63fafdfd8
commit 5be01bc8d5

View File

@ -1615,7 +1615,8 @@ sub git_blob_plain {
if (!defined $hash) { if (!defined $hash) {
if (defined $file_name) { if (defined $file_name) {
my $base = $hash_base || git_read_head($project); my $base = $hash_base || git_read_head($project);
$hash = git_get_hash_by_path($base, $file_name, "blob") || die_error(undef, "Error lookup file."); $hash = git_get_hash_by_path($base, $file_name, "blob")
or die_error(undef, "Error lookup file.");
} else { } else {
die_error(undef, "No file name defined."); die_error(undef, "No file name defined.");
} }
@ -1646,7 +1647,8 @@ sub git_blob {
if (!defined $hash) { if (!defined $hash) {
if (defined $file_name) { if (defined $file_name) {
my $base = $hash_base || git_read_head($project); my $base = $hash_base || git_read_head($project);
$hash = git_get_hash_by_path($base, $file_name, "blob") || die_error(undef, "Error lookup file."); $hash = git_get_hash_by_path($base, $file_name, "blob")
or die_error(undef, "Error lookup file.");
} else { } else {
die_error(undef, "No file name defined."); die_error(undef, "No file name defined.");
} }