[llvm] 00c8da6 - [docs] Fix suggested darker command in coding standards (#69860)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 21 18:33:44 PDT 2023


Author: Jakub Kuderski
Date: 2023-10-21T21:33:40-04:00
New Revision: 00c8da615923974c6c91603555b723c600dbb5f2

URL: https://github.com/llvm/llvm-project/commit/00c8da615923974c6c91603555b723c600dbb5f2
DIFF: https://github.com/llvm/llvm-project/commit/00c8da615923974c6c91603555b723c600dbb5f2.diff

LOG: [docs] Fix suggested darker command in coding standards (#69860)

Do not attempt to format deleted files.

Added: 
    

Modified: 
    llvm/docs/CodingStandards.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst
index ed7faa8b56f2de0..3268cf1a9442de7 100644
--- a/llvm/docs/CodingStandards.rst
+++ b/llvm/docs/CodingStandards.rst
@@ -148,7 +148,7 @@ For example:
 
 .. code-block:: bash
 
-   $ darker -r HEAD^ $(git 
diff  --name-only HEAD^)
+   $ darker -r HEAD^ $(git 
diff  --name-only --
diff -filter=d HEAD^)
 
 Mechanical Source Issues
 ========================


        


More information about the llvm-commits mailing list