Skip to content

Commit

Permalink
Remove leftover env variable logic in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebits committed Sep 1, 2015
1 parent d9d8aae commit c74977c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/git/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
#
# To enable this hook, symlink or copy this file to .git/hooks/pre-commit.

if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi

# Redirect output to stderr.
exec 1>&2

Expand Down

0 comments on commit c74977c

Please sign in to comment.