aboutsummaryrefslogtreecommitdiff
path: root/CmdLine
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-01 15:56:24 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-01 15:56:24 -0400
commit02fe8a497434ed6b7cfa12d68779bcaa0d9813c2 (patch)
treefd884b759a3e22af4b679de2c24d3dfb914058d1 /CmdLine
parent131e38a3ae3d40fb38738e78df6fed4e4a1e6005 (diff)
improve data type
Diffstat (limited to 'CmdLine')
-rw-r--r--CmdLine/Seek.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CmdLine/Seek.hs b/CmdLine/Seek.hs
index cb7faebac..be2bd22c3 100644
--- a/CmdLine/Seek.hs
+++ b/CmdLine/Seek.hs
@@ -80,7 +80,7 @@ withFilesInRefs a = mapM_ go
(l, cleanup) <- inRepo $ LsTree.lsTree (Git.Ref r)
forM_ l $ \i -> do
let f = getTopFilePath $ LsTree.file i
- v <- catKey (Git.Ref $ LsTree.sha i)
+ v <- catKey (LsTree.sha i)
case v of
Nothing -> noop
Just k -> whenM (matcher $ MatchingKey k) $