I sent a version of the following patch last week to fix the behavior of rebase -p to respect --onto. Some questions were raised and I believe I've addressed all of them. The code already distinguishes the cases Junio described in a natural way, as demonstrated by a test case in the revised patch. The use case Hannes described has never worked, as Dscho explained, and in any case concerns a different part of the code from this patch -- when the great day comes that rebase -i -p can reorder commits, this patch will work smoothly with that. Are there further comments? If not, I believe this is ready for merge. Greg -- 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