Jump to content

gitserver and mapping to git config user.name|user.email


sgrassie

Recommended Posts

Hello,

Is there anyway in Plastic/GitServer to map a plastic user to the git commit username (git config user.name) and email (git config user.email)?

Given a user called "Joe Coder", with a userid of jc1 and email of joe.coder@example.com, with GitServer turned on, what I'm seeing when I clone a repository/branch into a git repo and then run:

git log --pretty=format:"%h - %an, %ae, %ar : %s"

is this:

a12345b - jc1, , 2 days ago : update widget



I would expect to get something like this:

a12345b - joe.coder, joe.coder@example.com, 2 days ago : update widget

I've read the documentation on GitSync, and how you can map these values using gitsync.conf, but unless I am mistaken, this seems to only apply to when using GitSync to commit to git repositories through the git client, which we're not doing. This is for integration with 3rd party tools which don't have Plastic plugins.

Link to comment
Share on other sites

@manu thanks for the clarification, I was afraid I was missing something in the documentation :unsure:

I cannot access uservoice.com from my client's site, but I believe they have full support, so I will communicate with them to raise it via those channels (probably should have in the first instance).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...