Re: [PATCH v2 16/94] builtin/apply: move 'update_index' global into 'struct apply_state'

2016-05-12 Thread Junio C Hamano
Christian Couder writes: > To libify the apply functionality the 'update_index' variable should > not be static and global to the file. Let's move it into > 'struct apply_state'. > > Reviewed-by: Stefan Beller > Signed-off-by: Christian Couder

[PATCH v2 16/94] builtin/apply: move 'update_index' global into 'struct apply_state'

2016-05-11 Thread Christian Couder
To libify the apply functionality the 'update_index' variable should not be static and global to the file. Let's move it into 'struct apply_state'. Reviewed-by: Stefan Beller Signed-off-by: Christian Couder --- builtin/apply.c | 45