Re: [PATCH v2 20/34] sequencer (rebase -i): copy commit notes at end

2017-01-02 Thread Johannes Schindelin
Hi Junio, On Fri, 16 Dec 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > @@ -1750,6 +1797,17 @@ static int is_final_fixup(struct todo_list > > *todo_list) > > return 1; > > } > > > > +static enum todo_command peek_command(struct todo_list *todo_list, int > > offset) > >

Re: [PATCH v2 20/34] sequencer (rebase -i): copy commit notes at end

2016-12-16 Thread Junio C Hamano
Johannes Schindelin writes: > +static void flush_rewritten_pending(void) { > + struct strbuf buf = STRBUF_INIT; > + unsigned char newsha1[20]; > + FILE *out; > + > + if (strbuf_read_file(&buf, rebase_path_rewritten_pending(), 82) > 0 && > + !get_sha1("HEAD", ne