git http:// remotes are readonly too

This commit is contained in:
Joey Hess 2012-08-26 15:53:31 -04:00
parent 271ea49978
commit beaecce68b

View file

@ -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
}