]> git.ipfire.org Git - thirdparty/git.git/commit - apply.h
apply: move 'struct apply_state' to apply.h
authorChristian Couder <christian.couder@gmail.com>
Mon, 8 Aug 2016 21:02:59 +0000 (23:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Aug 2016 19:41:46 +0000 (12:41 -0700)
commit71501a71d0431ade410afa618adf55806e1f5f11
tree88d1226b592e008b5e7bec47508dc4eae949b47d
parent4d5acae0ca9c3a72c7ba7d82d684e7c0e57f8e92
apply: move 'struct apply_state' to apply.h

To libify `git apply` functionality we must make 'struct apply_state'
usable outside "builtin/apply.c".

Let's do that by creating a new "apply.h" and moving
'struct apply_state' there.

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