p2phttp remotes are not readonly
That prevented testremote from working when remote.name.url = http://..
This commit is contained in:
parent
4f3ae96666
commit
6af44b9de6
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ gen r u rc gc rs
|
||||||
, localpath = localpathCalc r
|
, localpath = localpathCalc r
|
||||||
, getRepo = getRepoFromState st
|
, getRepo = getRepoFromState st
|
||||||
, gitconfig = gc
|
, gitconfig = gc
|
||||||
, readonly = Git.repoIsHttp r
|
, readonly = Git.repoIsHttp r && not (isP2PHttp' gc)
|
||||||
, appendonly = False
|
, appendonly = False
|
||||||
, untrustworthy = False
|
, untrustworthy = False
|
||||||
, availability = repoAvail r
|
, availability = repoAvail r
|
||||||
|
|
Loading…
Reference in a new issue