diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-04-01 02:14:27 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-01 02:14:27 +0400 |
commit | 890a13a45285ad44858add2ce2f74eb478f549c8 (patch) | |
tree | 778d3d73aef0d238edd621eaaf38dcdb9f22616e /gitweb | |
parent | 87b3c0117a340df61bdbac6794611c74696bd42a (diff) | |
parent | 2be10bb5c1cfe15aa4f1b43137ccd17d826d8553 (diff) |
Sync with 1.7.0.4
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a2d2283ec9..c356e95f18 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2216,8 +2216,7 @@ sub config_to_multi { sub git_get_project_config { my ($key, $type) = @_; - # do we have project - return unless (defined $project && defined $git_dir); + return unless defined $git_dir; # key sanity check return unless ($key); |