summaryrefslogtreecommitdiff
path: root/Assistant/WebApp/Configurators
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-02 15:30:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-02 15:30:32 -0400
commit9f403113dde2310e2992b70542228085aa195c6c (patch)
treef83d29187841722f2dbaccc6a0db9f977bfea2d6 /Assistant/WebApp/Configurators
parent97ce4d24cb15aa20fe7fe510a656ca3ba2718fb4 (diff)
make bare repo on server
I think this makes sense.. Unless the assistant is running on the server, the repo won't be updated, so it might as well be bare. Non-bare repos will be handled by the pairing configurator, later.
Diffstat (limited to 'Assistant/WebApp/Configurators')
-rw-r--r--Assistant/WebApp/Configurators/Ssh.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/WebApp/Configurators/Ssh.hs b/Assistant/WebApp/Configurators/Ssh.hs
index 0ff958920..86ee937ee 100644
--- a/Assistant/WebApp/Configurators/Ssh.hs
+++ b/Assistant/WebApp/Configurators/Ssh.hs
@@ -270,7 +270,7 @@ getMakeSshR sshdata = do
makerepo
| rsyncOnly sshdata = []
| otherwise =
- [ "git init"
+ [ "git init --bare --shared"
, "git annex init"
]
makeAuthorizedKeys =