author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Sun, 3 Feb 2008 21:22:37 +0000 (22:22 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 4 Feb 2008 00:04:56 +0000 (16:04 -0800) | ||
commit | d4fe07f14975b87fa26776792a95f411473cfb46 | |
tree | 4cd03f52082ccf42132bdb1bcc67eb32d018c523 | tree | snapshot |
parent | 3023448cef6e85bdc1ce98226f23d63128c5c9a1 | commit | diff |
git-fsck: report missing author/commit line in a commit as an error
A zero commit date could be caused by:
* a missing author line
* a missing commiter line
* a malformed email address in the commiter line
* a malformed commit date
Simply reporting it as zero commit date is missleading.
Additionally, it upgrades the message to an error (instead of an printf).
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
A zero commit date could be caused by:
* a missing author line
* a missing commiter line
* a malformed email address in the commiter line
* a malformed commit date
Simply reporting it as zero commit date is missleading.
Additionally, it upgrades the message to an error (instead of an printf).
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fsck.c | diff | blob | history |