summaryrefslogtreecommitdiff
path: root/walker.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-05-24 08:11:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-01 17:10:16 (GMT)
commit71dac5cef57daacb35a56b4b54e1a30bc6417968 (patch)
tree3d5f76cc0876b984242cf8ffef7e077e6ad2c015 /walker.h
parentd7263d097c4510d864f8c9ff808bc9b377f0bf8f (diff)
downloadgit-71dac5cef57daacb35a56b4b54e1a30bc6417968.zip
git-71dac5cef57daacb35a56b4b54e1a30bc6417968.tar.gz
git-71dac5cef57daacb35a56b4b54e1a30bc6417968.tar.bz2
builtin/apply: move 'fn_table' global into 'struct apply_state'
To libify the apply functionality the 'fn_table' variable should not be static and global to the file. Let's move it into 'struct apply_state'. As fn_table is cleared at the end of apply_patch(), it is not necessary to clear it in clear_apply_state(). Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'walker.h')
0 files changed, 0 insertions, 0 deletions