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 /builtin/commit.c | |
parent | 2f63cea963667d17271d96196b6ef1605790032a (diff) | |
download | git-c84a86c99526b88cfd7664888ecbfd28f35a025f.tar.gz |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions