Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure the name of the temporary file ends with "+"
To avoid regression by leaving untracked cruft that is not covered by the .gitignore file, match the convention to generate into $name$suffix and then move to $name where $suffix ends with "+", which is used everywhere else in the system. The paragraph Incidentally, this also fixes something else: The `+` character is not even a valid filename character on Windows. The only reason why Git for Windows did not need this is that above-mentioned POSIX emulation layer also plays a couple of tricks with filenames (tricks that are not interoperable with regular Windows programs, though), and previous attempts to remedy this in git/git were unsuccessful, see e.g. https://lore.kernel.org/git/[email protected]/ no longer applies. It is not like this cript was the only offender.
- Loading branch information