Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package-lock.json: remove obsolete fluent-syntax (#1818)
This should've been removed as part of c52a603.
- Loading branch information
7a7a787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mathjazz I ignore how commits are merged to master (I sense it's squash+merge) but I notice it causes metadata loss unfortunately. Compare the headers of these two commits:
Date and author differ. I'm assuming the date in the first commit reflects the new squashed commit, which technically makes sense given that it's a different commit. Nonetheless, the username metadata is totally wrong with respect to the original intent, and can cause incorrect attribution or exposure of sensitive email addresses (the squashed commit info comes straight from GitHub as explained at isaacs/github#1368, which is very unfortunate).
So would it be possible to avoid this in the future and keep the original author metadata, please? 🙏
7a7a787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As part of the review process, we ask contributors to send followup changes as additional commits, which makes it easier to review subsequent changes and follow the discussion in the PR in retrospect. It doesn't make much sense for all of these commits to be pushed to master separately. So we instead "Squash and merge" commits into a single commit with a reference to the PR in its commit message, which allows us to follow the "1 bug - 1 PR - 1 commit" principle. And we follow it most of the time.
I see your point, though. That's very unfortunate. I assume "Rebase and merge" would work as expected in the case like #1818?
7a7a787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if "Rebase and merge" suffers from the same issue or not. For sure no local git client will have this problem, regardless of how commits are incorporated to the master branch.