mirror of
https://github.com/git/git
synced 2024-09-13 13:24:41 +00:00
Merge branch 'jn/web' into next
* jn/web: gitweb: whitespace cleanup around '=' gitweb: Use $hash_base as $search_hash if possible
This commit is contained in:
commit
8ec7e19499
|
@ -322,7 +322,9 @@ EOF
|
|||
$searchtext = "";
|
||||
}
|
||||
my $search_hash;
|
||||
if (defined $hash) {
|
||||
if (defined $hash_base) {
|
||||
$search_hash = $hash_base;
|
||||
} elsif (defined $hash) {
|
||||
$search_hash = $hash;
|
||||
} else {
|
||||
$search_hash = "HEAD";
|
||||
|
|
Loading…
Reference in a new issue