diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-03-31 15:14:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-31 15:14:27 -0700 |
commit | 890a13a45285ad44858add2ce2f74eb478f549c8 (patch) | |
tree | 778d3d73aef0d238edd621eaaf38dcdb9f22616e /gitweb | |
parent | Merge branch 'maint' (diff) | |
parent | Git 1.7.0.4 (diff) | |
download | tgif-890a13a45285ad44858add2ce2f74eb478f549c8.tar.xz |
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); |