mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 04:35:41 +03:00
Meta: Fix typos in shell script comments
This commit is contained in:
parent
5fb748b333
commit
24682f5dcf
Notes:
sideshowbarker
2024-07-16 20:39:14 +09:00
Author: https://github.com/DanShaders Commit: https://github.com/SerenityOS/serenity/commit/24682f5dcf Pull-request: https://github.com/SerenityOS/serenity/pull/21296 Reviewed-by: https://github.com/ADKaster
@ -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
|
||||
|
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user