summaryrefslogtreecommitdiff
path: root/Git/Repair.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 14:21:43 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 14:21:43 -0400
commit620118676391dbd0b296db4d4bf28574c18b9a3c (patch)
treef96b0b51166c531bfc8d75a9f5bce0557f2cc3b0 /Git/Repair.hs
parent2ea34c47dd9819111f3cbaa2ce848581d286c05c (diff)
refactor ls-tree params
All in one place to avoid bugs like 2ea34c47dd9819111f3cbaa2ce848581d286c05c
Diffstat (limited to 'Git/Repair.hs')
-rw-r--r--Git/Repair.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Repair.hs b/Git/Repair.hs
index 46cf22123..b441f1337 100644
--- a/Git/Repair.hs
+++ b/Git/Repair.hs
@@ -341,7 +341,7 @@ verifyTree :: MissingObjects -> Sha -> Repo -> IO Bool
verifyTree missing treesha r
| S.member treesha missing = return False
| otherwise = do
- (ls, cleanup) <- pipeNullSplit (LsTree.lsTreeParams treesha) r
+ (ls, cleanup) <- pipeNullSplit (LsTree.lsTreeParams treesha []) r
let objshas = map (extractSha . LsTree.sha . LsTree.parseLsTree) ls
if any isNothing objshas || any (`S.member` missing) (catMaybes objshas)
then do