Re: [PATCH v3 5/9] sequencer: run post-rewrite hook
On Thu, Jun 6, 2013 at 1:40 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> It probably is worth inserting a commit before 4/9 that adds
> rewrite.[ch], and
>
> - introduces "struct rewritten_list[_item]";
>
> - moves run_rewrite_hook() in builtin/commit.c to rewrite.c;
>
> - changes its function signature so that it takes "char
> *action_name" and "struct rewritten *" as parameters; and
>
> - adjust its sole call site in cmd_commit() to feed a single-item
> rewritten_list to it.
>
> Then 4/9 can teach cherry-pick to prepare the rewritten-list and
> probably this commit can be part of that to call run_rewrite_hook().
Done. I'll send the patches in a moment.
--
Felipe Contreras