Skip to content

Commit

Permalink
Remove prepare-commit-msg git hook cruft. (#11761)
Browse files Browse the repository at this point in the history
Shellcheck was complaining:
```
In ./build-support/githooks/prepare-commit-msg line 39:
HAS_CI_SKIP=$?
^---------^ SC2034: HAS_CI_SKIP appears unused. Verify use (or export if used externally).
```

This appears to be leftovers from #11750.
  • Loading branch information
jsirois authored Mar 21, 2021
1 parent c927cee commit 5ae3e26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build-support/githooks/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ NUM_RELEASE_FILES=$(echo "${CHANGED_FILES})" | grep -c -E \

# To avoid putting skip labels multiple times, check if the labels already exist
# in the commit message.
grep "\[ci skip\]" "${COMMIT_MSG_FILEPATH}" > /dev/null
HAS_CI_SKIP=$?
grep "\[ci skip-rust\]" "${COMMIT_MSG_FILEPATH}" > /dev/null
HAS_RUST_SKIP=$?
grep "\[ci skip-build-wheels\]" "${COMMIT_MSG_FILEPATH}" > /dev/null
Expand Down

0 comments on commit 5ae3e26

Please sign in to comment.