author | Junio C Hamano <junkio@cox.net> | |
Wed, 25 Jan 2006 22:26:22 +0000 (14:26 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 28 Jan 2006 08:08:29 +0000 (00:08 -0800) | ||
commit | 8828cdcb445fc420de9e869d359596ceefce76be | |
tree | 65a6eb1aa86c2852ab0548e8b4501a83a74d0c2d | tree | snapshot |
parent | 263eee29e94de935d62c7c4066fcea0ccfbe60b8 | commit | diff |
diff-tree --cc: squelch header generation on empty patch.
Earlier round showed the commit log header and "diff --combined"
header even for paths that had no interesting hunk under --cc
flag. Move the header display logic around to squelch them.
With this, a merge that does not have any interesting merges
will not be shown with --cc option, unless -m is used at the
same time.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Earlier round showed the commit log header and "diff --combined"
header even for paths that had no interesting hunk under --cc
flag. Move the header display logic around to squelch them.
With this, a merge that does not have any interesting merges
will not be shown with --cc option, unless -m is used at the
same time.
Signed-off-by: Junio C Hamano <junkio@cox.net>
combine-diff.c | diff | blob | history |