Code

unpack-objects: read configuration data upon startup.
[git.git] / unpack-objects.c
index 3b824b04a262b92808ba138b1922badbbb25da89..b23fe58ce158acdeb077be94fd58ed80a3c2b698 100644 (file)
@@ -241,11 +241,6 @@ static void unpack_one(unsigned nr, unsigned total)
        }
 }
 
-/*
- * We unpack from the end, older files first. Now, usually
- * there are deltas etc, so we'll not actually write the
- * objects in that order, but we might as well try..
- */
 static void unpack_all(void)
 {
        int i;
@@ -271,6 +266,7 @@ int main(int argc, char **argv)
        unsigned char sha1[20];
 
        setup_git_directory();
+       git_config(git_default_config);
 
        quiet = !isatty(2);