From 4c4ebf2d7570030a70fdbd313b8b60e9fa727eee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 22 Jun 2011 17:08:51 -0400 Subject: store trust.log and remote.log in the git-annex branch .. and I think that's everything that will use the branch --- Command/InitRemote.hs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Command') 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 -} -- cgit v1.2.3