contrib/subtree: use %B for split subject/body
authorTechlive Zheng <techlivezheng@gmail.com>
Tue, 5 Feb 2013 04:06:02 +0000 (22:06 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2013 23:22:12 +0000 (15:22 -0800)
commita5b8e28e4eb5762c9da68b56efdf45d6c885bd56
tree6a89d6b83b8a3a45f4fe99ef667373f147ac6655
parent144797d7209565f1d377aaf1f157ea30eff5e04c
contrib/subtree: use %B for split subject/body

Use %B to format the commit message and body to avoid an extra newline
if a commit only has a subject line.

Signed-off-by: Techlive Zheng <techlivezheng@gmail.com>
Signed-off-by: David A. Greene <greened@obbligato.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/git-subtree.sh
contrib/subtree/t/t7900-subtree.sh