Sync with 1.7.0.4

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2010-03-31 15:14:27 -07:00
11 changed files with 51 additions and 17 deletions

View File

@ -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);