diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-05-24 10:11:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-01 10:10:16 -0700 |
commit | d7263d097c4510d864f8c9ff808bc9b377f0bf8f (patch) | |
tree | ccc654726ea7992713ec5f526f9bd27858c97778 /builtin/remote.c | |
parent | builtin/apply: move 'max_change' and 'max_len' into 'struct apply_state' (diff) | |
download | tgif-d7263d097c4510d864f8c9ff808bc9b377f0bf8f.tar.xz |
builtin/apply: move 'state_linenr' global into 'struct apply_state'
To libify the apply functionality the 'state_linenr' variable should
not be static and global to the file. Let's move it into
'struct 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/remote.c')
0 files changed, 0 insertions, 0 deletions