summaryrefslogtreecommitdiff
path: root/Command/FindRef.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/FindRef.hs')
-rw-r--r--Command/FindRef.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/FindRef.hs b/Command/FindRef.hs
index 2e3d859fa..e7f7eae6d 100644
--- a/Command/FindRef.hs
+++ b/Command/FindRef.hs
@@ -11,8 +11,9 @@ import Command
import qualified Command.Find as Find
cmd :: [Command]
-cmd = [Find.mkCommand $ command "findref" paramRef seek SectionPlumbing
- "lists files in a git ref"]
+cmd = [withOptions nonWorkTreeMatchingOptions $ Find.mkCommand $
+ command "findref" paramRef seek SectionPlumbing
+ "lists files in a git ref"]
seek :: CommandSeek
seek refs = do