Add --include, which is the same as --not --exclude.
This commit is contained in:
parent
30cf6ce81c
commit
6bffe509d7
6 changed files with 28 additions and 10 deletions
1
test.hs
1
test.hs
|
@ -524,6 +524,7 @@ test_find = "git-annex find" ~: intmpclonerepo $ do
|
|||
annexed_notpresent sha1annexedfile
|
||||
git_annex_expectoutput "find" [] [annexedfile]
|
||||
git_annex_expectoutput "find" ["--exclude", annexedfile, "--and", "--exclude", sha1annexedfile] []
|
||||
git_annex_expectoutput "find" ["--include", annexedfile] [annexedfile]
|
||||
git_annex_expectoutput "find" ["--not", "--in", "origin"] []
|
||||
git_annex_expectoutput "find" ["--copies", "1", "--and", "--not", "--copies", "2"] [sha1annexedfile]
|
||||
git_annex_expectoutput "find" ["--inbackend", "SHA1"] [sha1annexedfile]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue