Pass -M to diff in request-pull
authorDavid Miller <davem@davemloft.net>
Mon, 4 Dec 2006 07:17:00 +0000 (23:17 -0800)
committerJunio 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>
git-request-pull.sh

index 4319e35..4eacc3a 100755 (executable)
@@ -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