diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-05-24 10:11:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-01 10:10:16 -0700 |
commit | c84a86c99526b88cfd7664888ecbfd28f35a025f (patch) | |
tree | ea82239dad64430fd290e84679daafe96d36c192 /tree-walk.h | |
parent | builtin/apply: move 'symlink_changes' global into 'struct apply_state' (diff) | |
download | tgif-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 'tree-walk.h')
0 files changed, 0 insertions, 0 deletions