From: Linus Torvalds Date: Mon, 13 Jun 2005 03:34:09 +0000 (-0700) Subject: git-diff-tree: fix output with just "--pretty". X-Git-Tag: v0.99~290 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba88e54b1a39aa700cc2f8da402e6167d124329d;p=git.git git-diff-tree: fix output with just "--pretty". It set verbose, but didn't set the output prefix to "diff-tree". --- diff --git a/diff-tree.c b/diff-tree.c index 3c8838582..6c98e62ad 100644 --- a/diff-tree.c +++ b/diff-tree.c @@ -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; }