-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong "Author" / "Committer" on GitHub PR merges #215
Comments
looking at the commit in question at https://github.com/eclipse-jdt/eclipse.jdt.ui/commit/f375359a1eefd6479d79fda05e2e4e0e5bd8a1cc.patch shows that
so I dont know how that PR was created, but from the data it looks consistent. Did you receive a patch from Jeff Johnston or cherry picked this commit from his fork in your own fork? |
no, i did it all alone. |
if that is the case, maybe your local setup of user.email is mixed up, otherwise I have no idea how this can happen. |
For the other cases where Jeff Johnston is shown as author and GitHub as committer, I did take a look at the raw data from the GitHub API and it looks fine:
not sure what tool you use to show the commit history, but maybe it is not accurate. |
I was testing also with git itself:
so it looks like there is some discrepancy in this case which I cant explain right now. Maybe he did this changes with the Web UI? I can search a bit about this issue. |
Could be related to Codespaces: |
If i can upload a patch with a other users "Author" and Github overrides "Committer" at the end both fields would be wrong - totally blind to the real committer. |
There are 2 cases that are distinct imho:
for the first case, evidence is strong that it is related to the use of Codespaces. The behavior is exactly as described in the referenced discussion, please check with John if he did so. for the second case I have no idea, you have deleted the branch in your fork already, maybe you can restore it for further inspection? |
already deleted :-( |
@jjohnstn which workflow do you use to merge PRs - such that your name is not shown as Committer? |
From my experience this happens if one uses squash-and-merge on PRs. There might be other cases, tough. |
Sometime wrong names are shown in the history
For example in jdt.ui
https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/1466/commits
@eclipse-jdt/eclipsefdn-security
The text was updated successfully, but these errors were encountered: