[PATCH 0/3] fix "diff --raw" on the work tree side
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 2, 2008, 09:43 UTC
- Message-ID
- <1204451012-17487-1-git-send-email-gitster@pobox.com>
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 sidediff-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