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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html