SubmittingPatches: add git pull & diffstat format info

Add git pull command info and diffstat summary info so that we don't
have to search email archives for it repeatedly.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
14863617 1f07be1c

+26
+26
Documentation/SubmittingPatches
··· 528 528 references. 529 529 530 530 531 + 16) Sending "git pull" requests (from Linus emails) 531 532 533 + Please write the git repo address and branch name alone on the same line 534 + so that I can't even by mistake pull from the wrong branch, and so 535 + that a triple-click just selects the whole thing. 536 + 537 + So the proper format is something along the lines of: 538 + 539 + "Please pull from 540 + 541 + git://jdelvare.pck.nerim.net/jdelvare-2.6 i2c-for-linus 542 + 543 + to get these changes:" 544 + 545 + so that I don't have to hunt-and-peck for the address and inevitably 546 + get it wrong (actually, I've only gotten it wrong a few times, and 547 + checking against the diffstat tells me when I get it wrong, but I'm 548 + just a lot more comfortable when I don't have to "look for" the right 549 + thing to pull, and double-check that I have the right branch-name). 550 + 551 + 552 + Please use "git diff -M --stat --summary" to generate the diffstat: 553 + the -M enables rename detection, and the summary enables a summary of 554 + new/deleted or renamed files. 555 + 556 + With rename detection, the statistics are rather different [...] 557 + because git will notice that a fair number of the changes are renames. 532 558 533 559 ----------------------------------- 534 560 SECTION 2 - HINTS, TIPS, AND TRICKS