summaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'GitRepo.hs')
-rw-r--r--GitRepo.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/GitRepo.hs b/GitRepo.hs
index 752253b41..d9dd086f2 100644
--- a/GitRepo.hs
+++ b/GitRepo.hs
@@ -397,8 +397,8 @@ encodeGitFile s = (foldl (++) "\"" (map echar s)) ++ "\""
where
showoctal i = "\\" ++ (printf "%03o" i)
e_num c = showoctal $ ord c
- -- unicode character is decomposed to Word8
- -- and each is shown with e_num
+ -- unicode character is decomposed to
+ -- Word8s and each is shown in octal
e_utf c = foldl (++) "" $ map showoctal $
(encode [c] :: [Word8])