mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
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>
This commit is contained in:
parent
7c0f7028ee
commit
396db813f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user