diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-14 12:07:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-14 12:07:36 -0400 |
commit | 5e2b4e16ba8f6cb32461b5c09e3872ce50aa13e7 (patch) | |
tree | 2420780869a072c9c3a76d12aea887bd64c5cf04 /Types/BranchState.hs | |
parent | 8c87293b4886bd7b3389c3a3066e2c6cfa9f1a56 (diff) |
avoid multiple unnecessary stats of the index file
Up to one per file processed.
Diffstat (limited to 'Types/BranchState.hs')
-rw-r--r-- | Types/BranchState.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Types/BranchState.hs b/Types/BranchState.hs index 777edb32c..e5b2291f3 100644 --- a/Types/BranchState.hs +++ b/Types/BranchState.hs @@ -9,6 +9,7 @@ module Types.BranchState where data BranchState = BranchState { branchUpdated :: Bool, -- has the branch been updated this run? + indexChecked :: Bool, -- has the index file been checked to exist? -- the content of one file is cached cachedFile :: Maybe FilePath, @@ -16,4 +17,4 @@ data BranchState = BranchState { } startBranchState :: BranchState -startBranchState = BranchState False Nothing "" +startBranchState = BranchState False False Nothing "" |