Re: [PATCH/RFC/GSoC 12/17] rebase-todo: introduce rebase_todo_item
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Mar 14, 2016, 13:43 UTC
- Message-ID
- <CAP8UFD0Fw1ZOQzPfF=bbEsCOhkoHfV5B5ayprxR6kWr6vApT5Q@mail.gmail.com>
- In-Reply-To
- <1457779597-6918-13-git-send-email-pyokagan@gmail.com>
On Sat, Mar 12, 2016 at 11:46 AM, Paul Tan <pyokagan@gmail.com> wrote:
Show 6 quoted lines
> 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?
Thanks!