Add a conversion tool to migrate remote information into the config
[git.git] / diff-tree.c
index 54157e4..7207867 100644 (file)
@@ -69,6 +69,9 @@ int main(int argc, const char **argv)
 
        git_config(git_diff_config);
        nr_sha1 = 0;
+       init_revisions(opt);
+       opt->abbrev = 0;
+       opt->diff = 1;
        argc = setup_revisions(argc, argv, opt, NULL);
 
        while (--argc > 0) {