summaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-11 17:19:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-11 17:19:55 -0400
commitaf82586adff96f18fe768e432f501c647401262f (patch)
tree20e7ec170661ab11010e39ce46657b69e7341e09 /GitRepo.hs
parentde3dafae80f45af8db56dc95e11863f049cf3cb2 (diff)
split up Types
Diffstat (limited to 'GitRepo.hs')
-rw-r--r--GitRepo.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/GitRepo.hs b/GitRepo.hs
index 3a8a8110d..c26f752ef 100644
--- a/GitRepo.hs
+++ b/GitRepo.hs
@@ -10,7 +10,12 @@ import System.IO
import Data.String.Utils
import Control.Exception
import Utility
-import Types
+
+-- a git repository
+data GitRepo = GitRepo {
+ top :: FilePath,
+ bare :: Bool
+}
{- GitRepo constructor -}
gitRepo :: FilePath -> IO GitRepo