Re: [PATCH v2 09/94] builtin/apply: move 'state' init into init_apply_state()

2016-05-12 Thread Junio C Hamano
Christian Couder writes: > When the apply functionality will be libified, the 'struct apply_state' > will be used by different pieces of code. > > To properly initialize a 'struct apply_state', let's provide a nice > and easy to use init_apply_state() function. This

[PATCH v2 09/94] builtin/apply: move 'state' init into init_apply_state()

2016-05-11 Thread Christian Couder
When the apply functionality will be libified, the 'struct apply_state' will be used by different pieces of code. To properly initialize a 'struct apply_state', let's provide a nice and easy to use init_apply_state() function. Helped-by: Eric Sunshine Reviewed-by: