Skip to content

Commit

Permalink
Apply suggested name from PR review.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Oct 8, 2024
1 parent ad3188d commit 1b4f3f3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Git pre-commit hook to run `state commit` prior to committing any build script changes.
# Usage: call this script from your git pre-commit hook or use it as your pre-commit hook.

if git diff --name-only --cached | grep -q buildscript.as; then
echo "Running 'state commit', as buildscript.as is being committed."
Expand Down

0 comments on commit 1b4f3f3

Please sign in to comment.