summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-06-15 22:09:30 +0000
committerMatthias Braun <matze@braunis.de>2017-06-15 22:09:30 +0000
commitdaa550059a4b28adc86d3674263d8066645bf583 (patch)
tree64dc5045864f152425402b641ed7793c83688f5f /llvm/docs
parentc54b1c8b4d9cbac6abe102e9a80d596351490faf (diff)
downloadbcm5719-llvm-daa550059a4b28adc86d3674263d8066645bf583.tar.gz
bcm5719-llvm-daa550059a4b28adc86d3674263d8066645bf583.zip
docs/Phabricator: Better git examples to produce full context patches
llvm-svn: 305515
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/Phabricator.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/docs/Phabricator.rst b/llvm/docs/Phabricator.rst
index 8d1984b65cd..cc8484cc1e3 100644
--- a/llvm/docs/Phabricator.rst
+++ b/llvm/docs/Phabricator.rst
@@ -54,7 +54,8 @@ reviewer understand your code.
To get a full diff, use one of the following commands (or just use Arcanist
to upload your patch):
-* ``git diff -U999999 other-branch``
+* ``git show HEAD -U999999 > mypatch.patch``
+* ``git format-patch -U999999 @{u}``
* ``svn diff --diff-cmd=diff -x -U999999``
To upload a new patch:
OpenPOWER on IntegriCloud