Author: (no author) not defined in authors file

I came across the following error message

Author: (no author) not defined in authors file

when I tried to import an SVN repository (Open Yahtzee‘s) to Git using git svn and I specified an authors file (using -A). Indeed, the first commit to the svn (which was done using cvs2svn) had no username for the commiter. Apperantly the workaround is to add the following line to your author file.

(no author) = no_author <no_author@no_author>

I tried also doing the same without an email address, but it just didn’t work. It seems Git requires that all authors have an email address.

5 thoughts on “Author: (no author) not defined in authors file

  1. Pingback: Subversion to Git – Musings of Dan

  2. Pingback: Migrate Archive Google Code SVN to Git | Yeangshing

Leave a Reply

Your email address will not be published. Required fields are marked *