summaryrefslogtreecommitdiff
path: root/xdiff
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-05-24 10:11:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-01 10:10:16 -0700
commitc84a86c99526b88cfd7664888ecbfd28f35a025f (patch)
treeea82239dad64430fd290e84679daafe96d36c192 /xdiff
parentbuiltin/apply: move 'symlink_changes' global into 'struct apply_state' (diff)
downloadtgif-c84a86c99526b88cfd7664888ecbfd28f35a025f.tar.xz
builtin/apply: move 'state' check into check_apply_state()
To libify the apply functionality we should provide a function to check that the values in a 'struct apply_state' instance are coherent. Let's move the code to do that into a new check_apply_state() function. 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 'xdiff')
0 files changed, 0 insertions, 0 deletions