logoalt Hacker News

yokoprimeyesterday at 10:58 AM4 repliesview on HN

Haha, good luck working with a team with more than 2 people. A good reviewer looks at the end-state and does not care about individual commits. If im curious about a specific change i just look at the blame.


Replies

tasukiyesterday at 11:28 AM

> A good reviewer looks at the end-state and does not care about individual commits.

Then I must be a bad reviewer. In a past job, I had a colleague who meticulously crafted his commits - his PRs were a joy to review because I could go commit by commit in logical chunks, rather than wading through a single 3k line diff. I tried to do the same for him and hope I succeeded.

show 3 replies
jfengelyesterday at 12:30 PM

Sometimes I have to go back and fix a bug that appeared during another branch. Having the original commits helps me bisect it.

Not often, but given that it costs me nothing to have it all in my tree, I'd rather have it than not.

hhjinksyesterday at 11:02 AM

You review code not to verify the actual output of the code, but the code itself. For bugs, for maintainability. Commit hygiene is part of that.

seba_dos1yesterday at 11:04 AM

I have no troubles working on big FLOSS projects where reviews usually happen at the commit level :)

show 1 reply