add "nothing" to preferred content DSL
Same as "not anything"; will be particularly useful in annex.largefiles gitattributes.
This commit is contained in:
parent
06cf5efae7
commit
e8fc2ff27c
4 changed files with 7 additions and 0 deletions
|
@ -74,6 +74,7 @@ parseToken matchstandard matchgroupwanted checkpresent checkpreferreddir getgrou
|
|||
| t == "inpreferreddir" = use checkpreferreddir
|
||||
| t == "unused" = Right $ Operation limitUnused
|
||||
| t == "anything" = Right $ Operation limitAnything
|
||||
| t == "nothing" = Right $ Operation limitNothing
|
||||
| otherwise = maybe (Left $ "near " ++ show t) use $ M.lookup k $
|
||||
M.fromList
|
||||
[ ("include", limitInclude)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue