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>
David Miller committed
Dec 3, 2006 at 23:17 UTC
396db813f2e9b56460cd783c73daf15150e36b41
1 file changed
+1
-1
git-request-pull.sh
+1
-1
@@ -30,4 +30,4 @@ echo " $url"
30
echo
31
32
git log $baserev..$headrev | git-shortlog ;
33
-git diff --stat --summary $baserev..$headrev
33
+git diff -M --stat --summary $baserev..$headrev