Skip to content

Fix diff-files output for unmerged paths

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4test: use $_z40 from test-libt/t1400-update-ref.sh t/t1501-worktree.sh t/t2011-checkout-invalid-head.sh +9 more+15 -220 replies
2/4diff.c: return filepair from diff_unmerge()diff.c diff.h+9 -62 replies
3/4diff: remove often unused parameters from diff_unmerge()diff-lib.c diff.c diff.h+6 -110 replies
4/4diff-files: show unmerged entries correctlydiff-lib.c t/t4046-diff-unmerged.sh+95 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Fix diff-files output for unmerged paths

This is cleaned-up series of my previous attempts that were queued in 'pu' late in the pre-1.7.5 cycle.

Junio C Hamano (4):
test: use $_z40 from test-lib
diff.c: return filepair from diff_unmerge()
diff: remove often unused parameters from diff_unmerge()
diff-files: show unmerged entries correctly

 diff-lib.c                       |   15 +++++--
 diff.c                           |   12 +++---
 diff.h                           |    5 +--
 t/t1400-update-ref.sh            |    2 +-
 t/t1501-worktree.sh              |    7 +--
 t/t2011-checkout-invalid-head.sh |    2 +-
 t/t2201-add-update-typechange.sh |    2 -
 t/t3200-branch.sh                |    4 +-
 t/t3600-rm.sh                    |    3 +-
 t/t4002-diff-basic.sh            |    5 +--
 t/t4020-diff-external.sh         |    2 -
 t/t4027-diff-submodule.sh        |    1 -
 t/t4046-diff-unmerged.sh         |   87 ++++++++++++++++++++++++++++++++++++++
 t/t7011-skip-worktree-reading.sh |    4 +-
 t/t7012-skip-worktree-writing.sh |    2 +-
 t/test-lib.sh                    |    3 +
 16 files changed, 120 insertions(+), 36 deletions(-)
 create mode 100755 t/t4046-diff-unmerged.sh
Signature · 1 line
1.7.5