I ran a git pull that ended in a conflict. I resolved the conflict and everything is fine now (I used mergetool also).
git pull
When I commit the resolved file
I found that adding "-i" to the commit command fixes this problem for me. The -i basically tells it to stage additional files before committing. That is:
git commit -i myfile.php