But still insist on email address and date).
Peter Green reports that eg
71e128629ec786f3 in upstream xen.git is
such a commit (and is accepted by github).
Closes:#851716.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Infrastructure:
* Properly honour NOCOMMITCHECK policy hook exit status.
Closes:#851800.
Infrastructure:
* Properly honour NOCOMMITCHECK policy hook exit status.
Closes:#851800.
+ * Do not reject commits with no author/committer name (but still insist
+ on email address and date). Peter Green reports that eg
+ 71e128629ec786f3 in upstream xen.git is such a commit (and is accepted
+ by github). Closes:#851716.
Test suite:
* downstream-gitless: Test import of .dsc from unknown distro.
Test suite:
* downstream-gitless: Test import of .dsc from unknown distro.
# defend against commits generated by #849041
if (!($policy & NOCOMMITCHECK)) {
# defend against commits generated by #849041
if (!($policy & NOCOMMITCHECK)) {
- my @checks = qw(%an %ae %at
- %cn %ce %ct);
+ my @checks = qw(%ae %at
+ %ce %ct);
my @chk = qw(git log -z);
push @chk, '--pretty=tformat:%H%n'.
(join "", map { $_, '%n' } @checks);
my @chk = qw(git log -z);
push @chk, '--pretty=tformat:%H%n'.
(join "", map { $_, '%n' } @checks);