Fix --signoff in builtin-commit differently.
commitd9ccfe7711a8bf1ed9d9cd87daa9863e0d564b23
authorJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2007 21:43:34 +0000 (2 13:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Dec 2007 07:35:46 +0000 (2 23:35 -0800)
tree61fbb63b219435a6026f1cb8c436a32d975895a1
parentb5b644a93adb41bca590a3cdfd9b64ccf3614f50
Fix --signoff in builtin-commit differently.

Introduce fmt_name() specifically meant for formatting the name and
email pair, to add signed-off-by value.  This reverts parts of
13208572fbe8838fd8835548d7502202d1f7b21d (builtin-commit: fix --signoff)
so that an empty datestamp string given to fmt_ident() by mistake will
error out as before.

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