apply: fix apply --intent-to-add
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | apply: error on --intent-to-add outside gitdirapply.c | +6 | 0 replies | |
| 2/5 | apply: read in the index in --intent-to-add modeapply.c | +1 | 2 replies | |
| 3/5 | apply: only write intents to add for new filesapply.c | +1 | 0 replies | |
| 4/5 | t4140: test apply --intent-to-add interactionst/ | +30 | 0 replies | |
| 5/5 | apply docs: clarify wording for --intent-to-addDocumentation/ | +4 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Johannes Altmanninger |
|---|---|
| 1/5 | Based-on-patch-by |
| 2/5 | Original-patch-by |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] apply: fix apply --intent-to-add
This patch series fixes the -N/--intent-to-add flag for git apply, which has not worked properly since its introduction in Git 2.19.
In particular, the index is properly initialized, and not touched except to add the requested intents to add.
Loosely based on the patch from Johannes Altmanninger, message-id <[email protected]>, but that patch turned out to be incorrect.
Raymond E. Pasco (5):
apply: error on --intent-to-add outside gitdir
apply: read in the index in --intent-to-add mode
apply: only write intents to add for new files
t4140: test apply --intent-to-add interactions apply docs: clarify wording for --intent-to-add
Documentation/git-apply.adoc | 8 ++++---- apply.c | 12 ++++++++---- t/t4140-apply-ita.sh | 31 ++++++++++++++++++++++++++++++- 3 files changed, 42 insertions(+), 9 deletions(-)
Signature · 1 line
2.49.0.1106.gc0efa3ba58