Re: [PATCH] rebase -i: redo tasks that die during cherry-pick
- From
Phil Hord <phil.hord@gmail.com>
- Date
- Apr 29, 2015, 19:32 UTC
- Message-ID
- <CABURp0odQWJC9LfQMywHKUarKAe7EY45fHET8xVVEsoBYDzBPg@mail.gmail.com>
- In-Reply-To
- <xmqq7fsu6ek4.fsf@gitster.dls.corp.google.com>
On Wed, Apr 29, 2015 at 1:15 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> > Thanks, will queue. > > Aside from the "much more invasive" possibility, the patch makes me > wonder if it would have been a better design to have a static "todo" > with a "current" pointer as two state files. Then reschedule would > have been just the matter of decrementing the number in "current", > instead of "grab the last line of one file and prepend to the other > file, and then lose the last line".
That's an interesting idea. Changing it now would impact anyone who now depends on the current todo/done behavior, and I imagine there are many.