summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-19 16:26:07 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-19 17:31:03 -0400
commit490211a7f9cf9080bc913a481d8e11865931e46b (patch)
tree71fe44cb34462002aa58cb43618384eb77efc5e0 /Annex.hs
parent4e40b54a7516bbc9070faaef31254bd22154684e (diff)
Direct mode: Support filesystems like FAT which can change their inodes each time they are mounted.
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index 454969619..2a17fffe1 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -116,6 +116,7 @@ data AnnexState = AnnexState
, flags :: M.Map String Bool
, fields :: M.Map String String
, cleanup :: M.Map String (Annex ())
+ , inodeschanged :: Maybe Bool
}
newState :: Git.Repo -> AnnexState
@@ -145,6 +146,7 @@ newState gitrepo = AnnexState
, flags = M.empty
, fields = M.empty
, cleanup = M.empty
+ , inodeschanged = Nothing
}
{- Makes an Annex state object for the specified git repo.