Skip to content

Commit 32249aa

Browse files
committed
hooks/precommit: Added comment about effects of file being removed from Git.
1 parent 317de9d commit 32249aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hooks/precommit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if [ "$CHANGED_RULESETS" ]; then
3434

3535
for FILE in $CHANGED_RULESETS; do
3636
if [ ! -f $FILE ]; then
37+
# File may have been removed from Git.
3738
echo "$(date -R): Skipped validation of $FILE - not found."
3839
continue
3940
fi

0 commit comments

Comments
 (0)