diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-05-24 10:11:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-01 10:10:16 -0700 |
commit | 71dac5cef57daacb35a56b4b54e1a30bc6417968 (patch) | |
tree | 3d5f76cc0876b984242cf8ffef7e077e6ad2c015 /builtin/mailinfo.c | |
parent | builtin/apply: move 'state_linenr' global into 'struct apply_state' (diff) | |
download | tgif-71dac5cef57daacb35a56b4b54e1a30bc6417968.tar.xz |
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 'builtin/mailinfo.c')
0 files changed, 0 insertions, 0 deletions