Skip to content

Commit

Permalink
Merge pull request #603 from ucb-bar/ci-ignore-rename
Browse files Browse the repository at this point in the history
Use an accurate name for the ci skip list
  • Loading branch information
colinschmidt authored Jun 15, 2020
2 parents 71f340a + 4bfd89b commit 781d644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .githooks/ignore-certain-dirs-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ fi
changes=( `git diff --name-only --cached` )

# Load the patterns we want to skip into an array
mapfile -t blacklist < .ciignore
mapfile -t blocklist < .ciignore

for i in "${blacklist[@]}"
for i in "${blocklist[@]}"
do
# Remove the current pattern from the list of changes
changes=( ${changes[@]/$i/} )
Expand Down

0 comments on commit 781d644

Please sign in to comment.