From: Christian Couder Date: Tue, 24 May 2016 08:11:03 +0000 (+0200) Subject: builtin/apply: move 'fake_ancestor' global into 'struct apply_state' X-Git-Tag: v2.10.0-rc0~190^2~24 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a0bfaf0796e416bb1cecd03e30af3e189a039a29?ds=inline;hp=a0bfaf0796e416bb1cecd03e30af3e189a039a29 builtin/apply: move 'fake_ancestor' global into 'struct apply_state' To libify the apply functionality the 'fake_ancestor' variable should not be static and global to the file. Let's move it into 'struct apply_state'. By the way remove a comment about '--index-info' that was renamed '--build-fake-ancestor' in commit 26b28007689d27a921ea90e5a29fc8eb74b0d297 (apply: get rid of --index-info in favor of --build-fake-ancestor, Sep 17 2007). Reviewed-by: Stefan Beller Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano ---