summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c0f702)
raw | patch | inline | side by side (parent: 7c0f702)
author | David Miller <davem@davemloft.net> | |
Mon, 4 Dec 2006 07:17:00 +0000 (23:17 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 4 Dec 2006 21:39:27 +0000 (13:39 -0800) |
Linus recommended this, otherwise any renames cause the
diffstat output to be ridiculous in some circumstances.
Because the corresponding "git-pull" done when the requestee
actually makes pull shows the stat with rename detection
enabled, it makes sense to match what the request message
includes to that output, to make the result easier to verify.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diffstat output to be ridiculous in some circumstances.
Because the corresponding "git-pull" done when the requestee
actually makes pull shows the stat with rename detection
enabled, it makes sense to match what the request message
includes to that output, to make the result easier to verify.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-request-pull.sh | patch | blob | history |
diff --git a/git-request-pull.sh b/git-request-pull.sh
index 4319e35c628efdd86745c560d2dfe306b180fb1b..4eacc3a059ca3d90305cd1f28b91460b56e07167 100755 (executable)
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
echo
git log $baserev..$headrev | git-shortlog ;
-git diff --stat --summary $baserev..$headrev
+git diff -M --stat --summary $baserev..$headrev