diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-12 20:34:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-12 20:34:09 -0700 |
commit | ba88e54b1a39aa700cc2f8da402e6167d124329d (patch) | |
tree | b0fb561af8fe4eaa67b7c589c64f89d4640b9f5b /diff-tree.c | |
parent | a8db165ee90c7a460916c3efbf97750dd019872c (diff) | |
download | git-ba88e54b1a39aa700cc2f8da402e6167d124329d.tar.gz git-ba88e54b1a39aa700cc2f8da402e6167d124329d.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |