git-diff-tree: fix output with just "--pretty".

It set verbose, but didn't set the output prefix to "diff-tree".
maint
Linus Torvalds 2005-06-12 20:34:09 -07:00
parent a8db165ee9
commit ba88e54b1a
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ int main(int argc, const char **argv)
}
if (!strncmp(arg, "--pretty", 8)) {
verbose_header = 1;
header_prefix = "diff-tree ";
commit_format = get_commit_format(arg+8);
continue;
}