git-svn: allow empty email-address using authors-prog and authors-file
commitcb427e9eb0243fe7a1a22ea3bd0a46b7410c0bf3
authorAndreas Heiduk <asheiduk@gmail.com>
Sat, 24 Mar 2018 10:20:46 +0000 (24 11:20 +0100)
committerEric Wong <e@80x24.org>
Thu, 5 Apr 2018 19:22:06 +0000 (5 19:22 +0000)
tree018a79db4d49c4c477109839a3e6272fdcbe60c5
parent9c18398f8b75f34c2251224c9443b4e1271ff9ff
git-svn: allow empty email-address using authors-prog and authors-file

The email address in --authors-file and --authors-prog can be empty but
git-svn translated it into a fictional email address in the form

jondoe <jondoe@6aafaa21e0fb4338a68ab372a049893d>

containing the SVN repository UUID. Now git-svn behaves like git-commit:
If the email is *explicitly* set to the empty string using '<>', the
commit does not contain an email address, only the name:

jondoe <>

Allowing to remove the email address *intentionally* prevents automatic
systems from sending emails to those fictional addresses and avoids
cluttering the log output with unnecessary stuff.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
Signed-off-by: Eric Wong <e@80x24.org>
Documentation/git-svn.txt
perl/Git/SVN.pm
t/t9130-git-svn-authors-file.sh
t/t9138-git-svn-authors-prog.sh