Re: [PATCH] t/Makefile: make sure that file names are truly platform-independent
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Aug 16, 2016, 21:10 UTC
- Message-ID
- <6a3964b6-9488-b6e6-ab32-15dd9a965454@kdbg.org>
- In-Reply-To
- <alpine.DEB.2.20.1608161035320.4924@virtualbox>
Am 16.08.2016 um 10:42 schrieb Johannes Schindelin:
> That only leaves the conclusion that some of our pathspec > code tries to be helpful and takes a backslash for a directory separator.
Very true. The code that does this is in prefix_filename():
https://github.com/git/git/blob/master/abspath.c#L170
-- Hannes