filter-repo: only set author from committer if author email not set
Some commits may have a valid author email, but no valid author name. Old versions of git didn't enforce a non-empty name. Setting the author data from the committer is wrong in this case. Also add a test case for this to t9390. Example: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c6295cdf656de63d6d1123def71daba6cd91939c (en: replaced with a dedicated test instead of tweaking existing ones) Signed-off-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Elijah Newren <newren@gmail.com>pull/208/head
parent
7b3e714b94
commit
282f8ddb9b
Loading…
Reference in New Issue