summaryrefslogtreecommitdiff
path: root/builtin/fsck.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-05-24 10:11:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-01 10:10:16 -0700
commitd7263d097c4510d864f8c9ff808bc9b377f0bf8f (patch)
treeccc654726ea7992713ec5f526f9bd27858c97778 /builtin/fsck.c
parentbuiltin/apply: move 'max_change' and 'max_len' into 'struct apply_state' (diff)
downloadtgif-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/fsck.c')
0 files changed, 0 insertions, 0 deletions