diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-12 22:47:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-09 14:36:26 -0700 |
commit | f4c66eeddd37d3e5f4043df89c2679fbadeb57bd (patch) | |
tree | fe64f3b19cc92d22e5fdcbcccfb5f4fa0e61b70d /t/t3510-cherry-pick-sequence.sh | |
parent | apply: refactor read_file_or_gitlink() (diff) | |
download | tgif-f4c66eeddd37d3e5f4043df89c2679fbadeb57bd.tar.xz |
apply: factor out checkout_target() helper function
When a patch wants to touch a path, if the path exists in the index
but is missing in the working tree, "git apply --index" checks out
the file to the working tree from the index automatically and then
applies the patch.
Split this logic out to a separate helper function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3510-cherry-pick-sequence.sh')
0 files changed, 0 insertions, 0 deletions