Re: [PATCH/RFC/GSoC 12/17] rebase-todo: introduce rebase_todo_item
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 14, 2016, 20:33 UTC
- Message-ID
- <alpine.DEB.2.20.1603142131120.4690@virtualbox>
- In-Reply-To
- <CAP8UFD0Fw1ZOQzPfF=bbEsCOhkoHfV5B5ayprxR6kWr6vApT5Q@mail.gmail.com>
Hi Christian,
On Mon, 14 Mar 2016, Christian Couder wrote:
Show 11 quoted lines
> On Sat, Mar 12, 2016 at 11:46 AM, Paul Tan <pyokagan@gmail.com> wrote:
> > In an interactive rebase, commands are read and executed from a todo
> > list (.git/rebase-merge/git-rebase-todo) to perform the rebase.
> >
> > In the upcoming re-implementation of git-rebase -i in C, it is useful to
> > be able to parse each command into a data structure which can then be
> > operated on. Implement rebase_todo_item for this.
>
> sequencer.{c,h} already has some code to parse and create todo lists
> for cherry-picking or reverting multiple commits, so I am wondering if
> it would be possible to share some code?I did exactly that and plan to work full steam on that because I need it way before GSoC starts:
https://github.com/git/git/compare/master...dscho:interactive-rebase
Note: there are still a couple of things to be done. I will take care of them.
Ciao, Dscho