summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <id@joeyh.name>2013-05-12 15:43:59 -0500
committerGravatar Joey Hess <id@joeyh.name>2013-05-12 15:43:59 -0500
commitf72b983a7008c9dcebae05a1878d83899414b3eb (patch)
treebdd18865e513d33e53e0235d3aed4f386ca3be5e
parent4bdcf788b375f58bc13b5e4d1d35dad90fb967c0 (diff)
fix
-rwxr-xr-xAnnex/Journal.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Journal.hs b/Annex/Journal.hs
index 9f4d29599..e68591ce2 100755
--- a/Annex/Journal.hs
+++ b/Annex/Journal.hs
@@ -68,8 +68,8 @@ journalFile file repo = gitAnnexJournalDir repo </> concatMap mangle file
where
mangle c
| c == pathSeparator = "_"
- | c == '_' = '__'
- | otherwise = c
+ | c == '_' = "__"
+ | otherwise = [c]
{- Converts a journal file (relative to the journal dir) back to the
- filename on the branch. -}