Skip to content

D/F conflict fixes

Elijah Newren git 4 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 0 repliesNew
  2. v36 patches 10 repliesSuperseded
  3. v25 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches7 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add additional testcases for D/F conflictst/t6035-merge-dir-to-symlink.sh t/t9350-fast-export.sh+84 -40 replies
2/6Add a rename + D/F conflict testcaset/t3509-cherry-pick-merge-df.sh+35 -00 replies
3/6merge-recursive: Fix D/F conflictsmerge-recursive.c t/t6035-merge-dir-to-symlink.sh+80 -190 replies
4/6merge_recursive: Fix renames across paths below D/F conflictsmerge-recursive.c t/t3509-cherry-pick-merge-df.sh t/t6020-merge-df.sh+15 -40 replies
5/6fast-export: Fix output order of D/F changesbuiltin/fast-export.c t/t9350-fast-export.sh+30 -10 replies
6/6fast-import: Improve robustness when D->F changes provided in wrong orderfast-import.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 0/6] D/F conflict fixes

This patch series fixes a number of spurious directory/file conflicts and associated bugs appearing in cherry-pick, rebase, merge, and fast-export. It also has a minor robustness improvement for fast-import. This series includes testsuite fixes for currently known failures in both t6020-merge-df.sh and t6035-merge-dir-to-symlink.sh.

Changes since the previous submission:
* Addressed comments from Junio in the previous round.

Alexander Gladysh (1):
Add a rename + D/F conflict testcase

Elijah Newren (5):
Add additional testcases for D/F conflicts
merge-recursive: Fix D/F conflicts
merge_recursive: Fix renames across paths below D/F conflicts
fast-export: Fix output order of D/F changes
fast-import: Improve robustness when D->F changes provided in wrong order

 builtin/fast-export.c           |   29 ++++++++++
 fast-import.c                   |    8 +++
 merge-recursive.c               |  108 ++++++++++++++++++++++++++++++++-------
 t/t3509-cherry-pick-merge-df.sh |   35 +++++++++++++
 t/t6020-merge-df.sh             |    2 +-
 t/t6035-merge-dir-to-symlink.sh |   64 +++++++++++++++++++++--
 t/t9350-fast-export.sh          |   24 +++++++++
 7 files changed, 247 insertions(+), 23 deletions(-)