Merge branch 'bc/commit-complete-lines-given-via-m-option'
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2013 21:02:37 +0000 (14:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2013 21:02:37 +0000 (14:02 -0700)
'git commit -m "$str"' when $str was already terminated with a LF
now avoids adding an extra LF to the message.

* bc/commit-complete-lines-given-via-m-option:
Documentation/git-commit.txt: rework the --cleanup section
git-commit: only append a newline to -m mesg if necessary
t7502: demonstrate breakage with a commit message with trailing newlines
t/t7502: compare entire commit message with what was expected

Trivial merge