summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 03:34:09 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 03:34:09 (GMT)
commitba88e54b1a39aa700cc2f8da402e6167d124329d (patch)
treeb0fb561af8fe4eaa67b7c589c64f89d4640b9f5b
parenta8db165ee90c7a460916c3efbf97750dd019872c (diff)
downloadgit-ba88e54b1a39aa700cc2f8da402e6167d124329d.zip
git-ba88e54b1a39aa700cc2f8da402e6167d124329d.tar.gz
git-ba88e54b1a39aa700cc2f8da402e6167d124329d.tar.bz2
git-diff-tree: fix output with just "--pretty".
It set verbose, but didn't set the output prefix to "diff-tree".
-rw-r--r--diff-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 3c88385..6c98e62 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;
}