From: David Miller Date: Mon, 4 Dec 2006 07:17:00 +0000 (-0800) Subject: Pass -M to diff in request-pull X-Git-Tag: v1.5.0-rc0~171 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=396db813f2e9b56460cd783c73daf15150e36b41;p=git.git 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 Signed-off-by: Junio C Hamano --- 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