Code

commit: do not add extra LF at the end of the summary.
authorJunio C Hamano <gitster@pobox.com>
Tue, 11 Dec 2007 05:02:26 +0000 (21:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Dec 2007 08:38:46 +0000 (00:38 -0800)
commitbf82a15095ed374496c2e98b6b672aa8c8c4d034
treeb85d282ca4fb5d022226bdbe70b4324a911ca637
parentbe15f50538afa4bfb912a86fa9d9f141010ad691
commit: do not add extra LF at the end of the summary.

The scripted version relied on the nice "auto-strip the terminating LF"
behaviour shell gives to "var=$(cmd)" construct, but we have to roll
that ourselves.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c