Hacker News new | past | comments | ask | show | jobs | submit login

Yes 1500 line PRs that are anything other than trivial changes are not acceptable. Please tell me you guys aren’t squashing commits on merge too





It wouldn't matter in this case. Its usually 1 1500 line commit in a PR, or its a couple of commits but they aren't meaningful ("write large feature", "review updates", "wip", "merge branch X", etc)

Why are people writing junk commits like that? Tell them not to

Some people consider the PR the unit of work, not the commit. I don't really agree but I think its a reasonable way to do things if you are squashing the PR before merging. The problem is the size.

> Please tell me you guys aren’t squashing commits on merge too

We (different org) aren't. We really should, huh?


No you really shouldn’t squash commits such that each one is hundreds of lines. That makes future debugging with git bisect pretty difficult

On the other hand, on a larger scale, it's often more about figuring out what PR caused something to break, rather than exactly which of the 100 WIP commits inside that PR was the exact cause.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: