I have a project with a submodule. When trying to merge a branch (named release
) into master
, git identified some conflicts and raised the following error:
Fast-forwarding submodule path/to/submodule
Auto-merging path/to/submodule
error: add_cacheinfo failed to refresh for path 'path/to/submodule'; merge aborting.
It completely stopped the merge, as no evidence of it is shown with git status
, although I can see some files from the branch release
. If I run git merge --abort
it also complains with:
fatal: There is no merge to abort (MERGE_HEAD missing).