Skip to content

fix "diff --raw" on the work tree side

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3diff-lib.c: constness strengtheningdiff-lib.c+6 -70 replies
2/3diff: make sure work tree side is shown as 0{40} when differentdiff.c t/t4027-diff-submodule.sh+55 -50 replies
3/3diff: show submodule object name when available even on the work tree sidediff-lib.c t/t4027-diff-submodule.sh+32 -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/3] fix "diff --raw" on the work tree side

The second patch fixes the inconsistency between "git-diff --raw" and "git-diff-{index,files} --raw" when they are used for submodules.

The third one is a bit controversial and changes the semantics and existing callers and won't be considered for 1.5.5.

Junio C Hamano (3):
diff-lib.c: constness strengthening
diff: make sure work tree side is shown as 0{40} when different
diff: show submodule object name when available even on the work tree side

 diff-lib.c                |   45 +++++++++++++++++++++++++++++++------
 diff.c                    |    7 +----
 t/t4027-diff-submodule.sh |   53 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 13 deletions(-)
 create mode 100755 t/t4027-diff-submodule.sh