Re: [PATCH v1 3/8] commit: move post-rewrite code to libgit

2017-11-07 Thread Phillip Wood
On 07/11/17 03:03, Junio C Hamano wrote: > Phillip Wood writes: > >> From: Phillip Wood >> >> Move run_rewrite_hook() from bulitin/commit.c to sequencer.c so it can >> be shared with other commands and add a new function >> commit_post_rewrite() based on the code in builtin/commit.c that >> enca

Re: [PATCH v1 3/8] commit: move post-rewrite code to libgit

2017-11-06 Thread Junio C Hamano
Phillip Wood writes: > From: Phillip Wood > > Move run_rewrite_hook() from bulitin/commit.c to sequencer.c so it can > be shared with other commands and add a new function > commit_post_rewrite() based on the code in builtin/commit.c that > encapsulates rewriting notes and running the post-rewri

[PATCH v1 3/8] commit: move post-rewrite code to libgit

2017-11-06 Thread Phillip Wood
From: Phillip Wood Move run_rewrite_hook() from bulitin/commit.c to sequencer.c so it can be shared with other commands and add a new function commit_post_rewrite() based on the code in builtin/commit.c that encapsulates rewriting notes and running the post-rewrite hook. Signed-off-by: Phillip W