From 52b7b05bf7898c0c4c2a4a88fecb4426273ce72d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Jul 2017 02:23:26 +0100 Subject: dgit-repos-server: Do not reject commits with no author/committer email But still insist on date, and hence on the actual committer and author commit header fields. Peter Green reports that eg 66c65d90db100435 in upstream linux.git is such a commit (and is accepted by github). Closes:#863353. Signed-off-by: Ian Jackson --- infra/dgit-repos-server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'infra') diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server index 55dc81f..ec9b2c9 100755 --- a/infra/dgit-repos-server +++ b/infra/dgit-repos-server @@ -902,8 +902,8 @@ sub checks () { # defend against commits generated by #849041 if (!($policy & NOCOMMITCHECK)) { - my @checks = qw(%ae %at - %ce %ct); + my @checks = qw(%at + %ct); my @chk = qw(git log -z); push @chk, '--pretty=tformat:%H%n'. (join "", map { $_, '%n' } @checks); -- cgit v1.2.3