From: Felipe Contreras Date: Sun, 09 Jun 2013 15:19:03 GMT Subject: Re: [PATCH v3 5/9] sequencer: run post-rewrite hook Message-ID: In-Reply-To: <7v7gi7yteu.fsf@alter.siamese.dyndns.org> On Thu, Jun 6, 2013 at 1:40 PM, Junio C Hamano wrote: > 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