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 3c8838582fbe516ef028dc5564d0e39287f0f4ea..6c98e62ad00962858e235f2a4299a530c2afdaf6 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;
}