Merge branch 'bc/commit-complete-lines-given-via-m-option' into maint
commit14c79b1faa113707d8955912af6064d9844f71eb
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 16:26:07 +0000 (3 09:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 16:26:07 +0000 (3 09:26 -0700)
tree0072f315d261bf4c4792ddcba45445facab1e0d1
parent295e3938fc2e0a229958e2fb76eb8b66fcb3611d
parent46fbf7536404257a68fd4ea5d92a3bcb3f7b5848
Merge branch 'bc/commit-complete-lines-given-via-m-option' into maint

'git commit -m "$msg"' used to add an extra newline even when
$msg already ended with one.

* 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
Documentation/git-commit.txt