From 5281ba1994bdd21309d694c44e43ed825294221c Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Wed, 23 Sep 2020 18:00:37 +0000 Subject: [PATCH] Document the `--verbatim` flag from arc to update the description for a phabricator revision --- llvm/docs/Phabricator.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/llvm/docs/Phabricator.rst b/llvm/docs/Phabricator.rst index d6ec277..6df1a8b 100644 --- a/llvm/docs/Phabricator.rst +++ b/llvm/docs/Phabricator.rst @@ -39,6 +39,21 @@ the command line. To get you set up, follow the You can learn more about how to use arc to interact with Phabricator in the `Arcanist User Guide`_. +The basic way of creating a revision for the current commit in your local +repository is to run: + +:: + + arc diff HEAD~ + + +If you later update your commit message, you need to add the `--verbatim` +option to have `arc` update the description on Phabricator: + +:: + + arc diff --edit --verbatim + .. _phabricator-request-review-web: -- 2.7.4