git-clone: exit early if repo isn't specified
[gitweb.git] / read-tree.c
index 1c3b09beffdf347af40b385f632d481c99645a33..eaff4441963409ea058722ef08fcf181a34a0c96 100644 (file)
@@ -717,6 +717,7 @@ int main(int argc, char **argv)
        merge_fn_t fn = NULL;
 
        setup_git_directory();
+       git_config(git_default_config);
 
        newfd = hold_index_file_for_update(&cache_file, get_index_file());
        if (newfd < 0)