top | item 41895737

(no title)

neandrake | 1 year ago

Git’s rerere functionality should address this, right?

https://git-scm.com/book/en/v2/Git-Tools-Rerere

discuss

order

fallingsquirrel|1 year ago

I'm not a heavy jj user. But as I understand it, git-rerere is bolted on top and not well integrated. It just stores resolutions locally on each machine in .git/rr-cache. You need extra steps to share resolutions between contributors. https://stackoverflow.com/questions/12566023/sharing-rerere-...

In jj, resolutions are first-class objects—treated the same as any normal commit, pushed/pulled like normal, etc.

keybored|1 year ago

rerere is indeed bolted on.

Linus doesn’t want people who he pulls from to back-merge, i.e. to merge at “random points” from him into their trees to keep up to date. But what about merge conflicts? Then he has to deal with them. So then he might begrudgingly ask them to back-merge right before making a pull: a real zig-zag pattern.

First-class conflicts would solve all that I think.

stouset|1 year ago

In theory yes. In practice I’ve had it enabled since it was first released and it helps… some?