summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-08-31 12:47:08 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-08-31 12:47:08 -0400
commita46a3ce0208f4471368a4070ebd12835375491a5 (patch)
treef00d962cd08c370673dca0d943323d04f5519750 /Command
parent402d8ca3b29bfe500ebcbec82bc0d3b2168b6100 (diff)
improve type
Diffstat (limited to 'Command')
-rw-r--r--Command/FindRef.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/FindRef.hs b/Command/FindRef.hs
index cb14371e0..93315bcef 100644
--- a/Command/FindRef.hs
+++ b/Command/FindRef.hs
@@ -9,6 +9,7 @@ module Command.FindRef where
import Command
import qualified Command.Find as Find
+import qualified Git
cmd :: Command
cmd = withGlobalOptions nonWorkTreeMatchingOptions $ Find.mkCommand $
@@ -17,4 +18,4 @@ cmd = withGlobalOptions nonWorkTreeMatchingOptions $ Find.mkCommand $
paramRef (seek <$$> Find.optParser)
seek :: Find.FindOptions -> CommandSeek
-seek o = Find.start o `withFilesInRefs` Find.findThese o
+seek o = Find.start o `withFilesInRefs` (map Git.Ref $ Find.findThese o)