threads / discuss / 27955

git-svn and comitter names

Subject: git-svn and comitter names

## tl;dr

2 messages between Jul 29, 2011 and Aug 2, 2011.

replies: 1people: 2as markdown or json

John M. Dlugosz· Jul 29, 2011, 15:16 UTC · lore

I just grabbed a repository using git-svn, and the commiter name shows a GUID for the domain name. For example,

     first.last <first.last@5ab5abacd-6ff9-f940-aeea-106a2a325327>

I set my git name and email address to show what I want in the end, the real company email address. Will this apparent mapping be a problem when I dcommit?

—John
Thomas Ferris Nicolaisen· Aug 2, 2011, 14:59 UTC · re: John M. Dlugosz · lore

Re: git-svn and comitter names

On Fri, Jul 29, 2011 at 5:16 PM, John M. Dlugosz <ngnr63q02@sneakemail.com> wrote:

Show 8 quoted lines
> I just grabbed a repository using git-svn, and the commiter name shows a
> GUID for the domain name.  For example,
>
>    first.last <first.last@5ab5abacd-6ff9-f940-aeea-106a2a325327>
>
> I set my git name and email address to show what I want in the end, the real
> company email address.  Will this apparent mapping be a problem when I
> dcommit?
Hi John,
No, it won't be a problem. This is the default "mapping" in git-svn.

The committer name is only visible in your git-svn clone. When you dcommit, it will use your normal SVN username, the same one which is used when you use SVN normally.

Your configured git name and email will be used in your local commits, but as soon as you dcommit, those commits are rewritten to use this username@uuid style.

If you think this is really annoying, or you are planning to make a permanent migration away from SVN, you can use an authors-file when doing the initial git-svn clone. See http://www.kernel.org/pub/software/scm/git/docs/git-svn.html for more info on the --authors-file option.

← back to recent threads