You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's often not clear how to react to code review feedback (e.g. see the discussion here), should you add a new commit or just amend the previous one?
I think it'd be good to have an "official" guidance on this in the contributing doc to prevent confusion.
@stephentoub's response looks like a good basis to me:
In this case I'd suggesting adding additional commits and then squashing later. Personally, I prefer to just ammend the existing commit when the changes are small / trivial and I don't expect anyone to need to re-review, e.g. fixing up typos or making simple one-line fixes. For larger things, I prefer to have the additional commits so that it's clear to a reviewer what's changed.
Thoughts?
The text was updated successfully, but these errors were encountered:
It's often not clear how to react to code review feedback (e.g. see the discussion here), should you add a new commit or just amend the previous one?
I think it'd be good to have an "official" guidance on this in the contributing doc to prevent confusion.
@stephentoub's response looks like a good basis to me:
Thoughts?
The text was updated successfully, but these errors were encountered: