Re: [PATCH v2 4/8] cherry-pick: store rewritten commits

2013-06-03 Thread Junio C Hamano
Felipe Contreras felipe.contre...@gmail.com writes: +static void add_rewritten(unsigned char *from, unsigned char *to) +{ + struct rewritten_list_item *item; + if (rewritten.nr + 1 = rewritten.alloc) { + rewritten.alloc += 32; + rewritten.items =

Re: [PATCH v2 4/8] cherry-pick: store rewritten commits

2013-06-03 Thread Felipe Contreras
On Mon, Jun 3, 2013 at 1:49 PM, Junio C Hamano gits...@pobox.com wrote: Felipe Contreras felipe.contre...@gmail.com writes: +static void add_rewritten(unsigned char *from, unsigned char *to) +{ + struct rewritten_list_item *item; + if (rewritten.nr + 1 = rewritten.alloc) { +

[PATCH v2 4/8] cherry-pick: store rewritten commits

2013-05-28 Thread Felipe Contreras
Will be useful for the next commits. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- sequencer.c | 95 - sequencer.h | 1 + 2 files changed, 95 insertions(+), 1 deletion(-) diff --git a/sequencer.c b/sequencer.c index