How could a commit to a repository show the user name as "unknown"?

Here is an example line from the repository commits page:

unknown

da25fef

TUEV list of open points, 2014-02-21.

21 hours ago

I will attach the commit data and the repository permissions settings after this is created.

Thank you,

John

4 answers

1 accepted

Hi John,

Currently in Stash we don't do any user lookup from a Git commit author to a Stash user. So the "unknown" string is what the committer of that change has as their 'user.name' git property on their local machine.

You might be interested in:

https://jira.atlassian.com/browse/STASH-3235

We've just started looking at this potentially in Stash 2.12, although I can't promise anything.

Charles

I believe you are correct. I just asked the project team if they know who modified the file listed in the commit.

We think we found the user. I'll be accepting your answer next.

Thank you.

Repository permissions page. It sure is hard to post a question with attachments. I hope you can see all this.

Try to use a commit checker:

https://marketplace.atlassian.com/plugins/com.isroot.stash.plugin.yacc

and require committer name and email to match Stash user

Has this been explored further and/or fixed in a later version of Stash? This is an issue we are also facing and would like to see a fix to without having to install a third party plug-in.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,766 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you