Send small PRs (Google eng-practices)(google.github.io) |
Send small PRs (Google eng-practices)(google.github.io) |
What they aren't good at is to show the overall intent of the whole change. I.e. what I've found is that sometimes an individual PR is easy to review and approve because it seems innocuous and totally fine. But in the overall grand scheme of things I'd have "questions". I might even question the overall concept of the whole thing but I don't have the full picture and what seems innocent as a small PR is actually going towards a grand vision I can't support.
I won't deny that I've used the same technique to get otherwise probably more controversially discussed stuff through ;)
It's the unit of change that goes through code review (so for the context of that document I think the best translation to the git world is PR).
Though it's not exactly a PR, a CL is also a single change in the change history (so you could also say that a CL is equivalent to a commit)