Merge branch 'bc/commit-complete-lines-given-via-m-option'
commit54797b98b85cfe7e0e6ea1cbf314981456bd047e
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2013 21:02:37 +0000 (21 14:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2013 21:02:37 +0000 (21 14:02 -0700)
treefdf064e48c5272dd3f860494441bfa84b9ded9c7
parentf5715de54a2237025a74704cb41f5404c743a2c3
parent46fbf7536404257a68fd4ea5d92a3bcb3f7b5848
Merge branch 'bc/commit-complete-lines-given-via-m-option'

'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