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.lorimer.id.au/gitweb.git/diff_plain/396db813f2e9b56460cd783c73daf15150e36b41?hp=--cc 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 --- 396db813f2e9b56460cd783c73daf15150e36b41 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