summaryrefslogtreecommitdiff
path: root/git-request-pull.sh
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 /git-request-pull.sh
parent7c0f7028ee04f135c7481671f05ca4a66072c78f (diff)
downloadgit-396db813f2e9b56460cd783c73daf15150e36b41.tar.gz
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>
Diffstat (limited to 'git-request-pull.sh')
-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 4319e35c62..4eacc3a059 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