diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-09-04 22:18:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-07 12:29:54 -0700 |
commit | 5b0b57fd91ce684679fdac1c3ae3a50c6aa3943e (patch) | |
tree | da7bc3003f4acc3baec62df895748d0db73305e7 /apply.h | |
parent | b4290342dd2d957cbcdb100c7d847802746b0730 (diff) | |
download | git-5b0b57fd91ce684679fdac1c3ae3a50c6aa3943e.tar.gz |
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 <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
@@ -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; |