]> git.ipfire.org Git - thirdparty/git.git/commit - apply.c
apply.c: pass struct apply_state to more functions
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 13 Aug 2018 16:14:38 +0000 (18:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Aug 2018 21:14:44 +0000 (14:14 -0700)
commit332a82a52222da253cd5023cd4c5cde2d51636b9
tree4764f431d866d341b0bfc81b2faed899c5cb62de
parentff82d1260f55836e18625fbae1697dbbe3090531
apply.c: pass struct apply_state to more functions

we're going to remove the dependency on the_index by moving 'struct
index_state *' to somewhere inside struct apply_state. Let's make sure
relevant functions have access to this struct now and reduce the diff
noise when the actual conversion happens.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
apply.c