From ba88e54b1a39aa700cc2f8da402e6167d124329d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 12 Jun 2005 20:34:09 -0700 Subject: [PATCH] git-diff-tree: fix output with just "--pretty". It set verbose, but didn't set the output prefix to "diff-tree". --- diff-tree.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2