From 94554782894ec6c26da3b46312d5d1d16d596458 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Dec 2012 00:24:19 -0400 Subject: finished where indentation changes --- Git/LsTree.hs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Git/LsTree.hs') diff --git a/Git/LsTree.hs b/Git/LsTree.hs index 64187b89b..611793c40 100644 --- a/Git/LsTree.hs +++ b/Git/LsTree.hs @@ -47,11 +47,11 @@ parseLsTree l = TreeItem , sha = s , file = Git.Filename.decode f } - where - -- l = SP SP TAB - -- All fields are fixed, so we can pull them out of - -- specific positions in the line. - (m, past_m) = splitAt 7 l - (t, past_t) = splitAt 4 past_m - (s, past_s) = splitAt 40 $ Prelude.tail past_t - f = Prelude.tail past_s + where + -- l = SP SP TAB + -- All fields are fixed, so we can pull them out of + -- specific positions in the line. + (m, past_m) = splitAt 7 l + (t, past_t) = splitAt 4 past_m + (s, past_s) = splitAt 40 $ Prelude.tail past_t + f = Prelude.tail past_s -- cgit v1.2.3