bugfix: drop and fsck did not honor --exclude
This commit is contained in:
parent
aedf84f7d6
commit
d036cd590f
2 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,8 @@ withAttrFilesInGit :: String -> CommandSeekAttrFiles
|
|||
withAttrFilesInGit attr a params = do
|
||||
repo <- Annex.gitRepo
|
||||
files <- liftIO $ runPreserveOrder (LsFiles.inRepo repo) params
|
||||
liftM (map a) $ liftIO $ Git.checkAttr repo attr files
|
||||
files' <- filterFiles files
|
||||
liftM (map a) $ liftIO $ Git.checkAttr repo attr files'
|
||||
withNumCopies :: CommandSeekAttrFiles
|
||||
withNumCopies = withAttrFilesInGit "annex.numcopies"
|
||||
withBackendFilesInGit :: CommandSeekBackendFiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue