1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #7216 resolved

Mismatching names in Overview and Commits

Nicholas Curry
created an issue

In the Overview screen, the Recent Activity shows a different username from the Commits screen.

It looks like the Overview/Recent Activity screen is picking up the name of the Bitbucket user who committed the file, whereas the Commits screen is picking up the Git alias as per the local .gitconfig.

It would be nice for the 2 to be consistent (from our perspective, showing the Bitbucket username would make more sense, as it would allow the Bitbucket username aliases to kick in.)

Comments (6)

  1. Brodie Rao

    The user listed in the overview page is the person who pushed those changes. We only have a limited amount of space to display information, so for the individual commits we've chosen to show only the hash and short description.

    The commit history page doesn't contain any information about who pushed what, it only shows the commits themselves. That's why you're not seeing user A for that particular commit.

    If you have any other questions, let me know. Thanks!

  2. Nicholas Curry reporter

    Hi Brodie,

    Thanks for the response.

    If you look at the 2 screenshots I attached:

    Capture1.PNG: commit aaa0000 was checked in by User A

    Capture2.PNG: commit aaa0000 was checked in by User B

    It is saying that the same commit was pushed by User A in one screen, and by User B in the other. This is confusing. Was User A the author, or was it User B? They are two different people.

    User A pushed the commit, but using User B's machine at the time. User B had set his name up in the .gitconfig. But the commit was pushed by User A using his bitbucket key. So I was hoping that Bitbucket would tell me who the author was in a consistent way in both screens (currently, they are showing different authors for the same commit.)

    Please let me know if that didn't make sense.

  3. Brodie Rao

    The only way Bitbucket can identify the person who's pushing is by who they authenticated as. Git doesn't send .gitconfig's user.name/user.email settings as part of the push.

    To clarify, the repo overview and commit history page are showing two different things: The repo overview is telling you who pushed commits. The commit history shows you who authored commits. For example, if you pull in commits someone else made from their fork, then you push those commits to the main repo, the repo overview will say you pushed the commits, and the commit history page will say that other person authored those commits.

  4. Log in to comment