Closed ydirson closed 3 years ago
Can you write an example script that generates this error?
Will do.
If I understand correcty, it happens on when you have first a merge that gets solved by autocontinue, and then a submodule update. I guess autocontinue uses something like "add -u" which takes the submodule change by mistake.
I'm not familiar with submodules. You would have to write a script to reproduce the issue.
Finally took the time to write this test, see https://github.com/felipec/git-reintegrate/pull/15
All right, now that I was able to reproduce I saw an easy improvement that fixes it.
git-reintegrates commits all changes when merging, and this possibly includes spurious submodule changes.
Cases where this happens includes: