diff --git a/dev/setup/git/hooks/pre-commit.legacy b/dev/setup/git/hooks/pre-commit.legacy index 91daacc5ad5..70a4384edfe 100755 --- a/dev/setup/git/hooks/pre-commit.legacy +++ b/dev/setup/git/hooks/pre-commit.legacy @@ -17,8 +17,7 @@ echo "Running precommit hook in .git/hooks/pre-commit" 1>&2 if [ "$#" -eq 1 ] then oIFS=$IFS - IFS=' - ' + IFS=$'\n' SFILES="$1" IFS=$oIFS fi