|
|
|
|
|
by eru
1054 days ago
|
|
> [...] where there is no good way to make the whole bundle atomic. You could just do all the commit manipulations you need to do, and only update the branches at the very end? Updating the individual branch 'pointers' ain't atomic, but if there's nothing else going on in the repo at the time, it can't really fail; if you've already created the new commits. |
|
But you're right that it should be possible to build such things in a way that works well and very rarely screws up. But just that I don't really know of any tools that try to do anything more complicated than `rebase -i` seems to suggest that it is not easy to do, or there would be more people doing this.