Re: rebase -i: learn to rebase root commit
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Dec 29, 2008, 21:49 UTC
- Message-ID
- <200812292249.45900.trast@student.ethz.ch>
- In-Reply-To
- <5d0be6d15bbdaa8b95c1df161b67ecd4120d7ce4.1230569041.git.trast@student.ethz.ch>
Thomas Rast wrote:
> Teach git-rebase -i a new option --root, which instructs it to rebase > the entire history leading up to <branch>. This is mainly for > symmetry with ordinary git-rebase; it cannot be used to edit the root > commit in-place (it requires --onto).
Actually, I forgot the "rebase -i -p" code path, which dies if --root is used with -p. Apologies.
So for now, consider this broken and RFC: is there any sensible use/interpretation of -p --root that I'm missing? Or should it just disallow this combination?
[I also seem to manage to shoot myself with format-patch & topgit every time, no matter how trivial the issue.]
--
Thomas Rast
trast@{inf,student}.ethz.ch