|Table of Contents|
SVN Users and Git Authors
Both Subversion and Git keep authors names in commits, but those authors differ.
Note, that SubGit uses authors names to count licensed users, see Licensing manual for details.
All the configuration options reside in SubGit configuration file, that is situated in subgit subdirectory inside a newly created Git repository:
Automatic Authors Mapping
Anchor AutoMapping AutoMapping
When SubGit starts translation between SVN and Git, it looks for authors mapping files or authors helper programs. If none of them present, it generates the mapping automatically, following these rules for the translation:
Similarly, Git commits that made by John Doe <firstname.lastname@example.org> Git user appears in SVN with John Doe author name.
Anchor AuthorsFile AuthorsFile
The authors mapping file is a text file filled with SVN username - Git author pairs. Each pair maps SVN username to Git author like:
Changes made to authors files are being applied immediately, there is no need to restart mirroring or reinstall SubGit.
Scriptable Authors Mapping
In addition to the authors files, there is another way to establish SVN to Git authors mapping using authors helper program. The authors helper is an executable – script or binary – that is able to read data from standard input and send its work result to the standard output. Input and output data must fulfil the following formats: