Guy Rutenberg

Keeping track of what I do

Archive for the ‘Git’ tag

Author: (no author) not defined in authors file

without comments

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 some email address.

Written by Guy

November 9th, 2011 at 8:04 pm

Posted in Tips

Tagged with ,