Comment by jasode
4 years ago
Yes, spaces in filenames introduce edge cases and bugs that people are not always aware of.
E.g. Here's a random StackOverflow q&a about a Git pre-commit hook where the top-voted answer does not properly handle filenames with spaces : https://stackoverflow.com/questions/2412450/git-pre-commit-h...
However, the 2nd and 3rd most upvoted answers do mention "-z" option to handle spaces.: https://stackoverflow.com/questions/2412450/git-pre-commit-h...
No comments yet
Contribute on Hacker News ↗