diff options
-rw-r--r-- | Command.hs | 2 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Command.hs b/Command.hs index abbe897b5..fd49531f4 100644 --- a/Command.hs +++ b/Command.hs @@ -191,7 +191,7 @@ filterFiles l = do else return $ filter (notExcluded $ wildsRegex exclude) l' where notState f = not $ stateDir `isPrefixOf` f - notExcluded r f = isJust $ match r f [] + notExcluded r f = isNothing $ match r f [] wildsRegex :: [String] -> Regex wildsRegex ws = compile regex [] diff --git a/debian/changelog b/debian/changelog index 76495c901..1834bea15 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ git-annex (0.20110522) UNRELEASED; urgency=low * Closer emulation of git's behavior when told to use "foo/.git" as a git repository instead of just "foo". Closes: #627563 + * Fix bug in --exclude introduced in 0.20110516. -- Joey Hess <joeyh@debian.org> Sun, 22 May 2011 14:03:42 -0400 |