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