aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2006-12-03 23:17:00 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-04 13:39:27 -0800
commit396db813f2e9b56460cd783c73daf15150e36b41 (patch)
tree4d182e8a917d93d4159f6c879d2e28646345162d
parent7c0f7028ee04f135c7481671f05ca4a66072c78f (diff)
downloadgit-396db813f2e9b56460cd783c73daf15150e36b41.tar.gz
git-396db813f2e9b56460cd783c73daf15150e36b41.tar.xz
Pass -M to diff in request-pull
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>
-rwxr-xr-xgit-request-pull.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-request-pull.sh b/git-request-pull.sh
index 4319e35c6..4eacc3a05 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -30,4 +30,4 @@ echo " $url"
echo
git log $baserev..$headrev | git-shortlog ;
-git diff --stat --summary $baserev..$headrev
+git diff -M --stat --summary $baserev..$headrev