summaryrefslogtreecommitdiff
path: root/Remotes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remotes.hs')
-rw-r--r--Remotes.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remotes.hs b/Remotes.hs
index 665de38ae..bee98a6f3 100644
--- a/Remotes.hs
+++ b/Remotes.hs
@@ -139,10 +139,10 @@ repoNotIgnored r = do
let name = if (not $ null fromName) then fromName else toName
if (not $ null name)
then return $ match name
- else return $ notignored g
+ else return $ not $ ignored g
where
match name = name == Git.repoRemoteName r
- notignored g = "true" /= config g
+ ignored g = Git.configTrue $ config g
config g = Git.configGet g configkey ""
configkey = "remote." ++ (Git.repoRemoteName r) ++ ".annex-ignore"