There are conflict when I call git merge git ls-files -u 100644 54d05e1c40c686027b611b702e014284e9ab9a31 1 a.c 100644 a8a1b77c0d92f33491a0a69a8645f02ececb1eb6 2 a.c 100644 642ba972b2234f63048abcca544b3926f94e04ee 3 a.c but when use git diff-index HEAD :100644 100644 a8a1b77c0d92f33491a0a69a8645f02ececb1eb6 0000000000000000000000 0000000000000000 M a.c a.c flag is M: Modification of the contents or mode of a file. I think it should be U: file is unmerged(you must complete the merge before it can be commited) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html