Code

git-commit -v: have patch at the end.
authorJunio C Hamano <junkio@cox.net>
Sat, 11 Feb 2006 02:38:24 +0000 (18:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 11 Feb 2006 02:44:31 +0000 (18:44 -0800)
commit9ae6be80163669db921e6522140900da41753ed5
tree7cdb374afedc317786daccdd4af1d7149835ab4a
parent9da5c2f0d7e99eca46ce12bfe08755b30f2bdd30
git-commit -v: have patch at the end.

It was pointed out that otherwise more important summary
information prefixed with '#' would become prone to be missed.

Also instead of chopping at the first '^---$' line, stop at the
first 'diff --git a/' line.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh