Why is stash linking wrong user to commits?

Timothy Harris January 31, 2015

I have created repository in stash. I pushed an existing repository to it. Now Stash has linked the wrong user to the commits.

I am the main committer on the repository. My git user.name matches my stash users full name. My git user.email matches my stash users email.

No other users in stash have the same full name or email as me.

But whenever I push the repository it always shows the commits as a different user. Why? How do I get stash to link my user to the commits? 

3 answers

1 accepted

2 votes
Answer accepted
Timothy Harris January 31, 2015

There was a user with duplicate email in internal user directory. Seems stash takes the first user with matching email. Could be nice if they match on user name also.

ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 2015

Thanks for your feedback! I've updated your comment on our KB below: https://confluence.atlassian.com/display/STASHKB/Commit+in+Stash+shows+a+different+username+than+the+one+that+pushes+the+code - Thiago Bomfim

0 votes
Timothy Harris January 31, 2015

EXT.Tim.Harris does not exist in Stash

0 votes
Timothy Harris January 31, 2015

Is it possibly because I have the same email but on different users in the commit logs? Author: Timothy Harris <tim@praqma.net> Date: Sat Jan 31 13:09:25 2015 +0100 AG-150: nothing really commit 4aad389d6c7095b5789aa7161dab16c572a25206 Author: Timothy Harris <tim@praqma.net> Date: Sat Jan 31 12:15:14 2015 +0100 AG-150: ignore idea files commit dc27ef98d263a41b74944ebad254c17a86fafbcb Author: EXT.Tim.Harris <tim@praqma.net> Date: Fri Jan 30 15:12:53 2015 +0100 AG-150 Create a defect cloner type. Started script to transition defect based on cloned defect status. NOT Fully working yet...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events