diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-17 16:01:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-17 16:01:09 -0400 |
commit | 998f57820295857891d123ca1592c9c2e54e94c1 (patch) | |
tree | baf0a9f39457dc6c51d7c0408e126da74397204a /Seek.hs | |
parent | 2c7c9811b3253e293535680762709adacecc0f2a (diff) |
Preferred content path matching bugfix.
When in a subdir, both the normal filepath, and the filepath relative to
the top of the git repo are needed for matching. The former for key lookup,
and the latter for include/exclude to match against. Previously, key lookup
didn't work in this situation.
Diffstat (limited to 'Seek.hs')
-rw-r--r-- | Seek.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ prepFiltered a fs = do map (process matcher) <$> fs where process matcher f = do - ok <- matcher f + ok <- matcher $ Annex.FileInfo f f if ok then a f else return Nothing notSymlink :: FilePath -> IO Bool |