fix inverted logic in recent commit
This commit is contained in:
parent
e44a132085
commit
dc274a6804
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ newtype CheckGitIgnore = CheckGitIgnore Bool
|
||||||
checkIgnored :: CheckGitIgnore -> FilePath -> Annex Bool
|
checkIgnored :: CheckGitIgnore -> FilePath -> Annex Bool
|
||||||
checkIgnored (CheckGitIgnore False) _ = pure False
|
checkIgnored (CheckGitIgnore False) _ = pure False
|
||||||
checkIgnored (CheckGitIgnore True) file =
|
checkIgnored (CheckGitIgnore True) file =
|
||||||
ifM (not <$> Annex.getState Annex.force)
|
ifM (Annex.getState Annex.force)
|
||||||
( pure False
|
( pure False
|
||||||
, withCheckIgnoreHandle $ \h -> liftIO $ Git.checkIgnored h file
|
, withCheckIgnoreHandle $ \h -> liftIO $ Git.checkIgnored h file
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue