Commit 102f7970 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Added DOS-style line ending check to git hook

parent e0990125
......@@ -97,8 +97,8 @@ dieOnBadFiles()
#
checkIllegalCode()
{
reBad="(N""abla|"$'\t'")"
msgBad="N""abla or <TAB>"
reBad="(N""abla|"$'\t'"|"$'\r\n'")"
msgBad="N""abla, <TAB>, or DOS-style line ending"
badFiles=$(
for f in $fileList
......@@ -219,4 +219,5 @@ checkLineLength
exit 0
#------------------------------------------------------------------------------
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment