Code

git-commit: don't add multiple Signed-off-by: from the same identity
authorGerrit Pape <pape@smarden.org>
Fri, 6 Jul 2007 14:42:27 +0000 (14:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2007 01:24:19 +0000 (18:24 -0700)
commita7342913e21a96597f38ce0b48e3093c9739df1f
tree8d15c0a1a0d14f6099a0815cab121f86f1c72158
parent4017761fd89060f2b57d7799f6bbda8b3568d3d4
git-commit: don't add multiple Signed-off-by: from the same identity

If requested to signoff a commit, don't add another Signed-off-by: line
to the commit message if the exact same line is already there.

This was noticed and requested by Josh Triplett through
 http://bugs.debian.org/430851

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-commit.sh