Meta: Fix typos in shell script comments

This commit is contained in:
Dan Klishch 2023-10-02 10:26:32 -04:00 committed by Andrew Kaster
parent 5fb748b333
commit 24682f5dcf
Notes: sideshowbarker 2024-07-16 20:39:14 +09:00
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ done < <(
else
# We're in the middle of a pre-commit run, so we should only check the files that have
# actually changed. The reason is that "git ls-files | grep" on the entire repo takes
# about 100ms. That is perfectly fine during a CI run, but becomes noticable during a
# about 100ms. That is perfectly fine during a CI run, but becomes noticeable during a
# pre-commit hook. It is unnecessary to check the entire repository on every single
# commit, so we save some time here.
for file in "$@"; do

View File

@ -21,7 +21,7 @@ fi
if [ "$#" -gt "0" ] ; then
# We're in the middle of a pre-commit run, so we should only check the files that have
# actually changed. The reason is that "git ls-files | grep" on the entire repo takes
# about 100ms. That is perfectly fine during a CI run, but becomes noticable during a
# about 100ms. That is perfectly fine during a CI run, but becomes noticeable during a
# pre-commit hook. It is unnecessary to check the entire repository on every single
# commit, so we save some time here.
for file in "$@"; do

View File

@ -3,7 +3,7 @@
# SC2034: "Variable appears unused. Verify it or export it."
# Those are intentional here, as the file is meant to be included elsewhere.
# NOTE: If using another privilege escalation binary make sure it is configured or has the appropiate flag
# NOTE: If using another privilege escalation binary make sure it is configured or has the appropriate flag
# to keep the current environment variables in the launched process (in sudo's case this is achieved
# through the -E flag described in sudo(8).
die() {