summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-09-02 21:19:06 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-09-02 21:19:06 +0700
commit459f526119da43efae52307a6165a8ccd5cb2288 (patch)
treec61ea80ca6adf2a2494ffdebb0a73dd56d4e5cbc /misc
parentb4efb832a749730b924f63be073cfe80c9afc334 (diff)
Fix typos 'a' and 'an'
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/hooks/pre-commit-clang-format4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format
index 0971ebe23a..d2d65a7428 100755
--- a/misc/hooks/pre-commit-clang-format
+++ b/misc/hooks/pre-commit-clang-format
@@ -1,6 +1,6 @@
#!/bin/bash
-# git pre-commit hook that runs an clang-format stylecheck.
+# git pre-commit hook that runs a clang-format stylecheck.
# Features:
# - abort commit when commit does not comply with the style guidelines
# - create a patch of the proposed style changes
@@ -97,7 +97,7 @@ do
# The sed call is necessary to transform the patch from
# --- $file timestamp
# +++ - timestamp
- # to both lines working on the same file and having a a/ and b/ prefix.
+ # to both lines working on the same file and having a/ and b/ prefix.
# Else it can not be applied with 'git apply'.
"$CLANG_FORMAT" -style=file "$file" | \
diff -u "$file" - | \