prevent find running in bare repo
This commit is contained in:
parent
62afca598d
commit
40dba8e933
2 changed files with 14 additions and 1 deletions
|
@ -18,7 +18,7 @@ import qualified Utility.Format
|
|||
import Utility.DataUnits
|
||||
|
||||
cmd :: Command
|
||||
cmd = withGlobalOptions [annexedMatchingOptions] $ mkCommand $
|
||||
cmd = notBareRepo $ withGlobalOptions [annexedMatchingOptions] $ mkCommand $
|
||||
command "find" SectionQuery "lists available files"
|
||||
paramPaths (seek <$$> optParser)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue