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:
parent
b63fafdfd8
commit
5be01bc8d5
@ -1615,7 +1615,8 @@ sub git_blob_plain {
|
||||
if (!defined $hash) {
|
||||
if (defined $file_name) {
|
||||
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 {
|
||||
die_error(undef, "No file name defined.");
|
||||
}
|
||||
@ -1646,7 +1647,8 @@ sub git_blob {
|
||||
if (!defined $hash) {
|
||||
if (defined $file_name) {
|
||||
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 {
|
||||
die_error(undef, "No file name defined.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user