summaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-02 16:02:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-02 16:02:43 -0400
commitc7b0f60fba9f53ed97c43f3ad9a48e7698b97760 (patch)
tree4089ffa6b7ccc808e0b98bda89db5f6e4925d985 /GitRepo.hs
parentcecb1cbeb2017e9e3be252c253ee7f2b49235c63 (diff)
clean up
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])