Skip to content

Commit

Permalink
Pass -M to diff in request-pull
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Miller authored and Junio C Hamano committed Dec 4, 2006
1 parent 7c0f702 commit 396db81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-request-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 396db81

Please sign in to comment.