summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Git.hs9
1 files changed, 3 insertions, 6 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index e5d85d2c2..78213f4f7 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -248,18 +248,15 @@ tryGitConfigRead autoinit r
, return Nothing
)
case v of
- Nothing -> do
- warning $ "Failed to get annex.uuid configuration of repository " ++ Git.repoDescribe r
- return r
- Just (Left _) -> do
- set_ignore "not usable by git-annex" False
- return r
Just (Right r') -> do
-- Cache when http remote is not bare for
-- optimisation.
unless (Git.Config.isBare r') $
setremote setRemoteBare False
return r'
+ _ -> do
+ set_ignore "not usable by git-annex" False
+ return r
store = observe $ \r' -> do
g <- gitRepo