git-diff-tree: fix output with just "--pretty".
It set verbose, but didn't set the output prefix to "diff-tree".maint
parent
a8db165ee9
commit
ba88e54b1a
|
@ -507,6 +507,7 @@ int main(int argc, const char **argv)
|
||||||
}
|
}
|
||||||
if (!strncmp(arg, "--pretty", 8)) {
|
if (!strncmp(arg, "--pretty", 8)) {
|
||||||
verbose_header = 1;
|
verbose_header = 1;
|
||||||
|
header_prefix = "diff-tree ";
|
||||||
commit_format = get_commit_format(arg+8);
|
commit_format = get_commit_format(arg+8);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue