From: Greg Price Date: Wed, 22 Jul 2009 16:37:38 GMT Subject: [PATCH v2 0/1] Fix rebase -p --onto Message-ID: <20090722163738.GO7503@vinegar-pot.mit.edu> 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