Re: [PATCH v2 59/94] builtin/apply: move init_apply_state() to apply.c

2016-05-15 Thread Eric Sunshine
On Wed, May 11, 2016 at 9:17 AM, Christian Couder wrote: > To libify `git apply` functionality we must make init_apply_state() > usable outside "builtin/apply.c". > > Let's do that by moving it into a new "apply.c". Similar to my comment about apply.h and 'struct apply_state', I can easily see ap

[PATCH v2 59/94] builtin/apply: move init_apply_state() to apply.c

2016-05-11 Thread Christian Couder
To libify `git apply` functionality we must make init_apply_state() usable outside "builtin/apply.c". Let's do that by moving it into a new "apply.c". Helped-by: Eric Sunshine Signed-off-by: Christian Couder --- Makefile| 1 + apply.c | 83 +