Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oops, forgot about spaces in the dirname.
Quite likely for Windows users to hit this problem.
- Loading branch information
5e8cc9f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not so sure about the "not bothering our Unix users" bit - there's the extra overhead of calling out to sed, and anyone with a backslash in their directories will have it replaced (this will be very rare I realise).
What's the issue with checking for the OS?
5e8cc9f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main issue is that there doesn't seem to be a reliable way of doing so.
uname
is the standard way of doing this, but it is missing on the Windows platform. (Although the lack ofuname
could well imply we're on Windows, LOL.)The extra
sed
call being "overhead" is not a very useful discussion. Tens ofsed
are done under the cover already with day-to-day use of git-flow. Degraded performance ain't an interesting con-argument, especially not in the context of this discussion.5e8cc9f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough then.