summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-09-28 14:14:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-09-28 14:14:52 -0400
commita3cb5c47e5f4167c711ab57f4b06d6c9d56536c8 (patch)
tree4026704c9622c1bd1beb33e0b6ea162987981358
parent4afdd34e8909bbadfcbddc6c63fd9e6a31efea21 (diff)
use FileMode
-rw-r--r--Git/LsTree.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Git/LsTree.hs b/Git/LsTree.hs
index 8b530d2ad..2220cfc50 100644
--- a/Git/LsTree.hs
+++ b/Git/LsTree.hs
@@ -12,6 +12,7 @@ module Git.LsTree (
import Numeric
import Control.Applicative
import Data.Char
+import System.Posix.Types
import Git
import Utility.SafeCommand
@@ -19,7 +20,7 @@ import Utility.SafeCommand
type Treeish = String
data TreeItem = TreeItem
- { mode :: Int
+ { mode :: FileMode
, objtype :: String
, sha :: String
, file :: FilePath