format-patch: use the diff options for the cover letter, too
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 2 Mar 2008 15:53:04 +0000 (15:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Mar 2008 23:27:08 +0000 (15:27 -0800)
commit5d02294c776c46f0d454470c66c16fe9f08fad3d
treef30963dac3a72151ea97a3293157a2eb2cdf433f
parent6dfbb304be5a5e260321c5f47626582dbe2c62f0
format-patch: use the diff options for the cover letter, too

Earlier, when you called "git format-patch --cover-letter -M", the
diffstat in the cover letter would not inherit the "-M".  Now it does.

While at it, add a few "|| break" statements in the test's loops;
otherwise, breakages inside the loops would not be caught.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
t/t4014-format-patch.sh