I am trying to use git2go to write an utility to do automatic merge, in the process of development I encountered a strange phenomenon and do not know how to solve it.
One of my projects will get different conflict reasons than "git merge --no-ff ..." if I merge it with git2go.
The output of "git status" after running "git merge --no-ff ..." shows some unmerged files are "both added", but those same files
are shown as "modified" and merged if I run "git status" after merging branch using git2go.
I am trying to use git2go to write an utility to do automatic merge, in the process of development I encountered a strange phenomenon and do not know how to solve it.
One of my projects will get different conflict reasons than "git merge --no-ff ..." if I merge it with git2go.
The output of "git status" after running "git merge --no-ff ..." shows some unmerged files are "both added", but those same files are shown as "modified" and merged if I run "git status" after merging branch using git2go.
Below is the code snippet I used to do the merge:
Is there something wrong with my code that causes this phenomenon?