Skip to content

Commit

Permalink
hooks: Don't check for uncommitted files
Browse files Browse the repository at this point in the history
There are legitimate use cases for uncommitted files.
  • Loading branch information
nlsun committed Jul 28, 2017
1 parent 79405eb commit a75fac7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ UNIVERSE_DIR=$GIT_HOOKS_DIR/../..
SCRIPTS_DIR=$UNIVERSE_DIR/scripts

$SCRIPTS_DIR/build.sh

# Fail if there are unstaged changes
git diff --exit-code

0 comments on commit a75fac7

Please sign in to comment.