summaryrefslogtreecommitdiffstats
path: root/t/t4018/cpp-function-returning-pointer
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-05-24 10:11:20 +0200
committerJunio C Hamano <gitster@pobox.com>2016-06-01 10:10:16 -0700
commitd7263d097c4510d864f8c9ff808bc9b377f0bf8f (patch)
treeccc654726ea7992713ec5f526f9bd27858c97778 /t/t4018/cpp-function-returning-pointer
parent1ffec303ab043c392e480d37df2b34e40f3d4bd0 (diff)
downloadgit-d7263d097c4510d864f8c9ff808bc9b377f0bf8f.tar.gz
git-d7263d097c4510d864f8c9ff808bc9b377f0bf8f.zip
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 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions