On 2008.09.03 09:20:11 +0200, Björn Steinbrink wrote: > Hi, > > "git merge" produces a (IMHO) wrong result, when a commit from the > branch that is to be merged in was cherry-picked into the current branch > and later reverted on the original branch. Basically ignoring the > revert. > > Example: > mkdir gmt > cd gmt > git init > > /bin/echo -e "1\n2\n3\n4\n5\n6\n" > file > git add file > git commit -m init > > /bin/echo -e "1\n2\n3\na\n4\n5\n6\n" > file > git add file > git commit -m add > > git revert --no-edit HEAD > > git checkout -b test HEAD~2 > sleep 1 # Avoid race > git cherry-pick master^ > git merge master > > > That last "git merge" call happily tells: > Already uptodate! > Merge made by recursive. > > And "file" still contains the "a" that was added in the second commit. > > Seems broken to me, of course I want that revert to "show up" in the > merge result, probably as a conflict for me to resolve. I knew I would forget something... That's with: $ git --version git version 1.6.0.1.196.g01914 Björn -- 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