Comment by CGamesPlay
2 years ago
But surely Mergiraf has some opinion about the order when it doesn’t matter, right? Like structs before impls, in your example.
2 years ago
But surely Mergiraf has some opinion about the order when it doesn’t matter, right? Like structs before impls, in your example.
For now, you let it reorder every child within a given node type, which felt expressive enough to me in most cases, but I agree it would be good to refine that: https://codeberg.org/mergiraf/mergiraf/issues/6
Looking at the nice demo, I think just defaulting to asking for confirmation if there is ambiguity, instead of dazzling the user with `mergiraf solve` magic would help; there is already a `merigraf review`. Then, a confirm prompt, an option to undo the resolution completely, or just do it on a file-by-file basis (with help what command to run next).