projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44a132
)
fix inverted logic in recent commit
author
Joey Hess
<joeyh@joeyh.name>
Tue, 29 Sep 2020 16:11:50 +0000
(12:11 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Tue, 29 Sep 2020 16:11:50 +0000
(12:11 -0400)
Annex/CheckIgnore.hs
patch
|
blob
|
history
diff --git
a/Annex/CheckIgnore.hs
b/Annex/CheckIgnore.hs
index c1cee46670ade55cc97d5cd9eee5afa06190e8b4..e3252d8cd9f8f35c5575ea0289922ca5c6c0ef1b 100644
(file)
--- a/
Annex/CheckIgnore.hs
+++ b/
Annex/CheckIgnore.hs
@@
-25,7
+25,7
@@
newtype CheckGitIgnore = CheckGitIgnore Bool
checkIgnored :: CheckGitIgnore -> FilePath -> Annex Bool
checkIgnored (CheckGitIgnore False) _ = pure False
checkIgnored (CheckGitIgnore True) file =
- ifM (
not <$>
Annex.getState Annex.force)
+ ifM (Annex.getState Annex.force)
( pure False
, withCheckIgnoreHandle $ \h -> liftIO $ Git.checkIgnored h file
)