summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Remote/Git.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index a9e3c3c9f..49f040cc8 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -98,7 +98,7 @@ gen r u _ = new <$> remoteCost r defcst
then Just $ Git.repoPath r
else Nothing
, repo = r
- , readonly = False
+ , readonly = Git.repoIsHttp r
, remotetype = remote
}