]> git.ipfire.org Git - thirdparty/git.git/commit - apply.h
builtin/apply: move init_apply_state() to apply.c
authorChristian Couder <christian.couder@gmail.com>
Mon, 8 Aug 2016 21:03:07 +0000 (23:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Aug 2016 19:41:47 +0000 (12:41 -0700)
commitbb493a5c147a4b60f0f412a71bf9236ede4a560c
tree0b49eb35e39d8dfa5d1cda1b31e4945d94683afa
parentf95fdc256b4732e6363823daa707ea6058e6db8e
builtin/apply: move init_apply_state() to apply.c

To libify `git apply` functionality we must make init_apply_state()
usable outside "builtin/apply.c".

Let's do that by moving it into a new "apply.c".

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
apply.c [new file with mode: 0644]
apply.h
builtin/apply.c