[PATCH v4 0/3] apply: handle i-t-a entries in index
- From
Raymond E. Pasco <ray@ameretat.dev>
- Date
- Aug 6, 2020, 06:01 UTC
- Message-ID
- <20200806060119.74587-1-ray@ameretat.dev>
- In-Reply-To
- <C4ON23BIKMVK.2ZESQJ1FB5PVA@ziyou.local>
I've finished this up and completed the tests as well. Just as read-cache.c says, i-t-a entries should never match the worktree - therefore, apply --index always fails.
Raymond E. Pasco (3): apply: allow "new file" patches on i-t-a entries apply: make i-t-a entries never match worktree t4140: test apply with i-t-a paths
apply.c | 26 ++++++++++++++++---- t/t4140-apply-ita.sh | 56 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 4 deletions(-) create mode 100644 t/t4140-apply-ita.sh
-- 2.28.0.2.g72bf77540a.dirty