revision: --max-age alone does not need limit_list() anymore.
[gitweb.git] / ls-tree.c
index 97f09bdf81c9e665d392990d70714e40357036d1..26258c3cf99c9eec522ea1a13a2ded3beb93e171 100644 (file)
--- a/ls-tree.c
+++ b/ls-tree.c
@@ -90,6 +90,7 @@ int main(int argc, const char **argv)
        struct tree *tree;
 
        prefix = setup_git_directory();
+       git_config(git_default_config);
        if (prefix && *prefix)
                chomp_prefix = strlen(prefix);
        while (1 < argc && argv[1][0] == '-') {