Hi, first, thanks for the --root idea ;-) > BTW. what is best way of checking if given revision is parent-less? I think count the number of parents is quite sane. In sequencer I have: count_parents() { git cat-file commit "$1" | sed -n -e '1,/^$/p' | grep -c '^parent' } Regards, Stephan -- Stephan Beyer <s-beyer@xxxxxxx>, PGP 0x6EDDD207FCC5040F -- 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