author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 11 Nov 2007 17:36:27 +0000 (17:36 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Nov 2007 01:05:03 +0000 (17:05 -0800) | ||
commit | 2150554b0ed60356d8918b610834c04ad2eecdec | |
tree | 0b330cf832aa6fadc8f49c38d9aa1ce5366b0424 | tree | snapshot |
parent | 13208572fbe8838fd8835548d7502202d1f7b21d | commit | diff |
builtin-commit --s: add a newline if the last line was not a S-o-b
The rule is this: if the last line already contains the sign off by the
current committer, do nothing. If it contains another sign off, just
add the sign off of the current committer. If the last line does not
contain a sign off, add a new line before adding the sign off.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The rule is this: if the last line already contains the sign off by the
current committer, do nothing. If it contains another sign off, just
add the sign off of the current committer. If the last line does not
contain a sign off, add a new line before adding the sign off.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | diff | blob | history | |
t/t7500-commit.sh | diff | blob | history |