When viewing a repository on Sourcegraph, the commit history shows a user's display name if they have a user account in Sourcegraph. I'd like the ability to disable the functionality that resolves a committer to their user display name in my Sourcegraph instance and use the author information from git instead.
Display names are mutable, which makes it difficult in an organization to find out who made certain commits if the display name is changed to something arbitrary. I believe that Sourcegraph falls back to git author information when there's no matching user account- it would be great if we could set that as the default for all commit authors.
Requested by https://app.hubspot.com/contacts/2762526/company/693777177
Thanks for posting this.
We can certainly add an option to disable resolution from Git email to Sourcegraph user display name. Before doing that, I want to propose some other solutions and get your feedback, in the hopes of avoiding adding another configuration point.
Right now it looks like this (the "Chris Wendt committed 7 hours ago" part):

auth.disableUsernameChanges config option lets you prevent users from changing usernames.)Thanks for the quick response! Option 1 sounds like a good idea, I'm wondering how would this look for the blame functionality in git-extras? Would it be possible to apply the format of username + display name there as well?
Great, thanks for the input! Yes, we would make the author display consistent everywhere (git-extras, commit list, commit panel, etc.).
Great, sounds good to me. Thank you!
Most helpful comment
Thanks for posting this.
We can certainly add an option to disable resolution from Git email to Sourcegraph user display name. Before doing that, I want to propose some other solutions and get your feedback, in the hopes of avoiding adding another configuration point.
Right now it looks like this (the "Chris Wendt committed 7 hours ago" part):
auth.disableUsernameChangesconfig option lets you prevent users from changing usernames.)