t4201: make use of abbreviation in the test more robust
[gitweb.git] / builtin / count-objects.c
index a700409bf55b34948b3bfdb339cb194570727eb9..a04b4f2ef337d4d9d8cb24de7288630ee8ab823c 100644 (file)
@@ -97,6 +97,8 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix)
                OPT_END(),
        };
 
+       git_config(git_default_config, NULL);
+
        argc = parse_options(argc, argv, prefix, opts, count_objects_usage, 0);
        /* we do not take arguments other than flags for now */
        if (argc)