aboutsummaryrefslogtreecommitdiff
path: root/Command/Adjust.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-29 13:57:48 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-29 13:57:48 -0400
commit59eaca60b13a039dff3e918dd6cc7ae47196737b (patch)
treee7f4bc947ef25e66f7c85a4692df996dd4cbc828 /Command/Adjust.hs
parentd3eac61d33603ef2896be9e4b20217e63505a4d6 (diff)
prevent git-annex adjust changing things out from under the daemon
Diffstat (limited to 'Command/Adjust.hs')
-rw-r--r--Command/Adjust.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Adjust.hs b/Command/Adjust.hs
index 3f3fd0d82..e2850a361 100644
--- a/Command/Adjust.hs
+++ b/Command/Adjust.hs
@@ -12,7 +12,7 @@ import Annex.AdjustedBranch
import Annex.Version
cmd :: Command
-cmd = notBareRepo $ notDirect $
+cmd = notBareRepo $ notDirect $ noDaemonRunning $
command "adjust" SectionSetup "enter adjusted branch"
paramNothing (seek <$$> optParser)