projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8db165
)
git-diff-tree: fix output with just "--pretty".
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 03:34:09 +0000
(20:34 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 03:34:09 +0000
(20:34 -0700)
It set verbose, but didn't set the output prefix to "diff-tree".
diff-tree.c
patch
|
blob
|
history
diff --git
a/diff-tree.c
b/diff-tree.c
index
3c88385
..
6c98e62
100644
(file)
--- 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;
}