summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-22 17:08:51 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-22 17:08:51 -0400
commit4c4ebf2d7570030a70fdbd313b8b60e9fa727eee (patch)
tree06c632c16399245182f38f3d42b5c46d1d7a71c7 /Command
parent235e2e63a13c629dcca1aa1638f5f47a8d3983ba (diff)
store trust.log and remote.log in the git-annex branch
.. and I think that's everything that will use the branch
Diffstat (limited to 'Command')
-rw-r--r--Command/InitRemote.hs11
1 files changed, 0 insertions, 11 deletions
diff --git a/Command/InitRemote.hs b/Command/InitRemote.hs
index 41d3c37c7..67030689d 100644
--- a/Command/InitRemote.hs
+++ b/Command/InitRemote.hs
@@ -14,11 +14,8 @@ import Data.Maybe
import Data.String.Utils
import Command
-import qualified Annex
import qualified Remote
import qualified Types.Remote as R
-import qualified GitRepo as Git
-import Utility
import Types
import UUID
import Messages
@@ -62,14 +59,6 @@ perform t u c = do
cleanup :: UUID -> R.RemoteConfig -> CommandCleanup
cleanup u c = do
Remote.configSet u c
- g <- Annex.gitRepo
- logfile <- Remote.remoteLog
- liftIO $ Git.run g "add" [File logfile]
- liftIO $ Git.run g "commit"
- [ Params "-q --allow-empty -m"
- , Param "git annex initremote"
- , File logfile
- ]
return True
{- Look up existing remote's UUID and config by name, or generate a new one -}