direct, indirect: Refuse to do anything when the assistant or git-annex watch daemon is running.

This commit is contained in:
Joey Hess 2013-04-22 16:41:46 -04:00
parent 777349f0d3
commit dc39da52f8
5 changed files with 21 additions and 6 deletions

View file

@ -17,7 +17,7 @@ import Annex.Direct
import Annex.Version
def :: [Command]
def = [notBareRepo $
def = [notBareRepo $ noDaemonRunning $
command "direct" paramNothing seek
SectionSetup "switch repository to direct mode"]