git-clone: exit early if repo isn't specified
[gitweb.git] / tar-tree.c
index efab2b5420af5225a0ebb4dbecd37252ed7ef1ff..705b8fa1c76dc665333f180278dca929e2a971f7 100644 (file)
@@ -3,7 +3,7 @@
  */
 #include <time.h>
 #include "cache.h"
-#include "diff.h"
+#include "tree-walk.h"
 #include "commit.h"
 #include "strbuf.h"
 #include "tar.h"
@@ -314,6 +314,7 @@ int main(int argc, char **argv)
        current_path.len = current_path.eof = 0;
 
        setup_git_directory();
+       git_config(git_default_config);
 
        switch (argc) {
        case 3: