Skip to content
Commit 84c8dd5e authored by Ian Stapleton Cordasco's avatar Ian Stapleton Cordasco
Browse files

Simplify @mpenkov's fix for exclude in git hooks

The simpler fix is to ensure that the filename isn't the full path to
the temporary file before we check to see if it should be excluded or if
it should even match.

This also fixes a bug I found while testing the pull request in which no
files are checked.
parent de9fd7d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment