Remix.run Logo
eru 2 hours ago

Oh, phabricator. I hated that tool with a passion. It always destroyed my carefully curated PR branch history.

See https://stackoverflow.com/questions/20756320/how-to-prevent-...

illamint 2 hours ago | parent [-]

Good. That's the point.

eru 2 hours ago | parent [-]

The point of what?

I hope they fixed phabricator in the meantime.

dbetteridge an hour ago | parent [-]

The point is the main branch reflects the "units" of change, not the individual commits to get there.

One merged pr is a unit of change, at the end of the day the steps you took to produce it aren't relevant to others.

My opinion of course, I'm open to understanding why preserving individual commits is beneficial

eru 28 minutes ago | parent [-]

You can get what you want from `git log --first-parent` without having to toss out information.

See how the Linux kernel handles git history to see a good example of non-linear history and where it helps. They use merge commits, ie commits with more than one ancestor, all the time.