summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-26 15:53:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-26 15:53:31 -0400
commitbeaecce68b268898f9d47be9ca36c55a708abc59 (patch)
tree4edc67f443a5cafc19cbda2aa218b1cf5be094c5 /Remote
parent271ea499789410e7c5c1352abe835af0a5001c38 (diff)
git http:// remotes are readonly too
Diffstat (limited to 'Remote')
-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
}