From 5b0b57fd91ce684679fdac1c3ae3a50c6aa3943e Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sun, 4 Sep 2016 22:18:32 +0200 Subject: apply: learn to use a different index file Sometimes we want to apply in a different index file. Before the apply functionality was libified it was possible to use the GIT_INDEX_FILE environment variable, for this purpose. But now, as the apply functionality has been libified, it should be possible to do that in a libified way. 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 9fec5363ab..b3d6783d55 100644 --- a/apply.h +++ b/apply.h @@ -63,6 +63,7 @@ struct apply_state { int unsafe_paths; /* Other non boolean parameters */ + const char *index_file; enum apply_verbosity apply_verbosity; const char *fake_ancestor; const char *patch_input_file; -- cgit v1.2.3