diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-08-08 23:03:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-11 12:41:47 -0700 |
commit | b6446d54ec70817ddd96b5c9668dd74a996719bf (patch) | |
tree | c05c6e1251488db03a54e795972d97a408fe7769 /apply.h | |
parent | f36538d88b12595d527c60ae1b882c89bb5d1b2a (diff) | |
download | git-b6446d54ec70817ddd96b5c9668dd74a996719bf.tar.gz |
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 <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'apply.h')
-rw-r--r-- | apply.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |