3 ms·
What is the alternative? Renaming the file? This was actually an issue with early versions of Servo on Windows: cloning the repository would fail because it co
by Ruud-v-A 10y ago
What is the alternative? Renaming the file?
This was actually an issue with early versions of Servo on Windows: cloning the repository would fail because it contained a file with a # in the name.
https://github.com/servo/servo/commit/43c999905c01627133240cbb3efe4aef0149abd9 https://github.com/servo/servo/commit/43c999905c01627133240c...
- moogly 10y ago'#' is allowed. It appears the issue was the wildcard '?' character, which could be argued isn't the best idea to use on *nix either.
- SpaceManiac 10y agoMSYS2 (a Cygwin-based platform) does renaming, mapping colons to U+F03A from the Private Use Area (which renders in Explorer like a bullet point). Its git package cloned the repository from the article with no problem, "ls" shows "foo:bar", and "cat foo:bar" works. Opening the file in non-MSYS tools also has no problems with the exotic character.