X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff-tree.c;h=d1265d796388dd1c1a56c00f793893ee9dc6ed10;hb=8d9fbe57b3acf756a9325884d11f004ef6f7e884;hp=df6fd97fca04369726e92b54ab54c59f808b4742;hpb=ee63802422af14e43eccce3c6dc4150a27ceb1a3;p=git.git diff --git a/diff-tree.c b/diff-tree.c index df6fd97f..d1265d79 100644 --- a/diff-tree.c +++ b/diff-tree.c @@ -6,7 +6,7 @@ static int show_root_diff = 0; static int no_commit_id = 0; static int verbose_header = 0; static int ignore_merges = 1; -static int combine_merges = 1; +static int combine_merges = 0; static int dense_combined_merges = 0; static int read_stdin = 0; static int always_show_header = 0; @@ -52,7 +52,7 @@ static int diff_root_tree(const unsigned char *new, const char *base) void *tree; struct tree_desc empty, real; - tree = read_object_with_reference(new, "tree", &real.size, NULL); + tree = read_object_with_reference(new, tree_type, &real.size, NULL); if (!tree) die("unable to read root tree (%s)", sha1_to_hex(new)); real.buf = tree;