diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-28 14:14:52 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-28 14:14:52 -0400 |
commit | a3cb5c47e5f4167c711ab57f4b06d6c9d56536c8 (patch) | |
tree | 4026704c9622c1bd1beb33e0b6ea162987981358 /Git/LsTree.hs | |
parent | 4afdd34e8909bbadfcbddc6c63fd9e6a31efea21 (diff) |
use FileMode
Diffstat (limited to 'Git/LsTree.hs')
-rw-r--r-- | Git/LsTree.hs | 3 |
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 |