-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spaces in filenames and paths breaks the pre- and post-commit scripts #109
Comments
Probably all that's needed is to enclose in double quotes ("") path variables, e.g. $SOME_DIR -> "$SOME_DIR" |
Perhaps you can change IFS=$'\n' and then unset it later? That seemed to work for me. |
very useful tool! thanks for your contribution. Wish you could fix the filename space issue. |
I've just created a PR for this (#112). I've run it against a few documents with multiple words in the file name (i.e. "my example document.docx") |
Thanks, @scfast . I have replied in your PR. |
The subject pretty much says it all.
I'll see if I can come up with a fix and make a pull request.
The text was updated successfully, but these errors were encountered: