summaryrefslogtreecommitdiff
path: root/Annex/DirHashes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/DirHashes.hs')
-rw-r--r--Annex/DirHashes.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/DirHashes.hs b/Annex/DirHashes.hs
index b58b5a215..03769350d 100644
--- a/Annex/DirHashes.hs
+++ b/Annex/DirHashes.hs
@@ -42,7 +42,7 @@ branchHashLevels = configHashLevels OneLevelBranchHash
configHashLevels :: Difference -> GitConfig -> HashLevels
configHashLevels d config
- | hasDifference (== d) (annexDifferences config) = HashLevels 1
+ | hasDifference d (annexDifferences config) = HashLevels 1
| otherwise = def
branchHashDir :: GitConfig -> Key -> String