From b6446d54ec70817ddd96b5c9668dd74a996719bf Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Mon, 8 Aug 2016 23:03:10 +0200 Subject: builtin/apply: move check_apply_state() to apply.c To libify `git apply` functionality we must make check_apply_state() usable outside "builtin/apply.c". Let's do that by moving it into "apply.c". Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- apply.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apply.h') diff --git a/apply.h b/apply.h index e18a18a964..53f09b5a45 100644 --- a/apply.h +++ b/apply.h @@ -106,5 +106,6 @@ extern int init_apply_state(struct apply_state *state, const char *prefix, struct lock_file *lock_file); extern void clear_apply_state(struct apply_state *state); +extern int check_apply_state(struct apply_state *state, int force_apply); #endif -- cgit v1.2.3