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
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -7,6 +7,7 @@ git-annex (3.20110907) UNRELEASED; urgency=low
|
|||
only its file component.
|
||||
* get, drop, copy: Added --auto option, which decides whether
|
||||
to get/drop content as needed to work toward the configured numcopies.
|
||||
* bugfix: drop and fsck did not honor --exclude
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 06 Sep 2011 16:59:15 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue