Compare commits

..

2 Commits

Author SHA1 Message Date
szb512 60b45a80c1 Update .clang-format 2020-07-13 18:08:09 +02:00
szb512 5b72b34708 Make the instructions slightly easier to read 2020-07-13 18:08:09 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -6,13 +6,13 @@
# The easiest way to apply the formatting to your changes ONLY, # The easiest way to apply the formatting to your changes ONLY,
# is to use the git-clang-format script (usually installed with clang-format). # is to use the git-clang-format script (usually installed with clang-format).
# #
# - Fixup formatting before committing # - Fix up formatting before committing
# 1. Edit and stage your files. # 1. Edit and stage your files.
# 2. Run `git clang-format`. # 2. Run `git clang-format`.
# 3. Verify + correct + (un)stage changes. # 3. Verify + correct + (un)stage changes.
# 4. Commit. # 4. Commit.
# #
# - Fixup formatting after committing # - Fix up formatting after committing
# 1. Commit your changes. # 1. Commit your changes.
# 2. Run `git clang-format HEAD~` - Refer the commit *before* your changes here. # 2. Run `git clang-format HEAD~` - Refer the commit *before* your changes here.
# 3. Verify + correct changes, `git difftool -d` can help here. # 3. Verify + correct changes, `git difftool -d` can help here.