Code

Fix some more diff options changes.
authorJunio C Hamano <junkio@cox.net>
Tue, 27 Jun 2006 22:08:19 +0000 (15:08 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 27 Jun 2006 22:33:40 +0000 (15:33 -0700)
commit3969cf7db1a13a78f3b7a36d8c1084bbe0a53459
tree2b16523d7552997a7c3f562a4f2bffbc207a926c
parenta959e0dc16907c4dc123cfac7bd22c636064a638
Fix some more diff options changes.

This fixes various problems in the new diff options code.

 - Fix --cc/-c --patch; it showed two-tree diff used internally.

 - Use "---\n" only where it matters -- that is, use it
   immediately after the commit log text when we show a
   commit log and something else before the patch text.

 - Do not output spurious extra "\n"; have an extra newline
   after the commit log text always when we have diff output and
   we are not doing oneline.

 - When running a pickaxe you need to go recursive.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff-tree.c
combine-diff.c
diff.c
log-tree.c