From 9f403113dde2310e2992b70542228085aa195c6c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 2 Sep 2012 15:30:32 -0400 Subject: [PATCH] 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. --- Assistant/WebApp/Configurators/Ssh.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/WebApp/Configurators/Ssh.hs b/Assistant/WebApp/Configurators/Ssh.hs index 0ff958920d..86ee937ee5 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 =