Page tree

By default there is no explicit authors mapping and the following rules are used for translation:

  • Subversion “svn_user_name” is translated to “svn_user_name <>” in Git
  • Git “Author Name <email@domain.com>” is translated to “Author Name” in Subversion

Additionally to the default rule, explicit authors mapping may be provided by SubGit configuration. Authors mapping is stored in a separate text file which is looked at GIT_REPOS/subgit/authors.txt by default. Mapping file is read in system default encoding.

svn_user_name = Git Name <name@email.com>

Default authors.txt location may be changed in SubGit configuration file.

[core] 
... 
# location of the authors mapping file 
authorsFile = subgit/authors.txt 
...

Authors mapping file (authors.txt) contents may be altered at any time and new mapping becomes effective immediately.

  • No labels