summaryrefslogtreecommitdiff
path: root/Command/Assistant.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-28 19:47:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-28 19:47:05 -0400
commit4a7e4aa126c1b8e28892188857b625ea65e185b6 (patch)
tree2a417634ee0fdb466329f1b9f4581483d36c58dd /Command/Assistant.hs
parent2267cdea6e550880835d5c3bc3b2a51b4f890e70 (diff)
assistant --autostart: Refuse to start in a bare git repository.
Diffstat (limited to 'Command/Assistant.hs')
-rw-r--r--Command/Assistant.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Assistant.hs b/Command/Assistant.hs
index 7a05cdfba..496df1dd2 100644
--- a/Command/Assistant.hs
+++ b/Command/Assistant.hs
@@ -19,7 +19,7 @@ import System.Environment
def :: [Command]
def = [noRepo checkAutoStart $ dontCheck repoExists $ withOptions options $
- command "assistant" paramNothing seek SectionCommon
+ notBareRepo $ command "assistant" paramNothing seek SectionCommon
"automatically handle changes"]
options :: [Option]