Skip to content

Commit 396db81

Browse files
davem330Junio C Hamano
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7c0f702 commit 396db81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-request-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ echo " $url"
3030
echo
3131

3232
git log $baserev..$headrev | git-shortlog ;
33-
git diff --stat --summary $baserev..$headrev
33+
git diff -M --stat --summary $baserev..$headrev

0 commit comments

Comments
 (0)