Skip to content

Commit 00c8da6

Browse files
authored
[docs] Fix suggested darker command in coding standards (#69860)
Do not attempt to format deleted files.
1 parent 5aee156 commit 00c8da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/CodingStandards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ For example:
148148

149149
.. code-block:: bash
150150
151-
$ darker -r HEAD^ $(git diff --name-only HEAD^)
151+
$ darker -r HEAD^ $(git diff --name-only --diff-filter=d HEAD^)
152152
153153
Mechanical Source Issues
154154
========================

0 commit comments

Comments
 (0)