It'll never work, cvs does not commit changes made during one second, as they have the same timestamp.
Why not add a delay in there, like this: id=$(git rev-list --max-count=1 HEAD) && sleep 2 It makes the test work for me. Jason - 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