match also / path separator on windows
This commit is contained in:
parent
c19211774f
commit
cee0d738fc
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ journalFile :: RawFilePath -> Git.Repo -> RawFilePath
|
||||||
journalFile file repo = gitAnnexJournalDir' repo P.</> S.map mangle file
|
journalFile file repo = gitAnnexJournalDir' repo P.</> S.map mangle file
|
||||||
where
|
where
|
||||||
mangle c
|
mangle c
|
||||||
| c == P.pathSeparator = fromIntegral (ord '_')
|
| P.isPathSeparator c = fromIntegral (ord '_')
|
||||||
| otherwise = c
|
| otherwise = c
|
||||||
|
|
||||||
{- Converts a journal file (relative to the journal dir) back to the
|
{- Converts a journal file (relative to the journal dir) back to the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue