From 1efb0d109ee425b53b76e92ee69c5ec7bf6cf979 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 31 Jul 2012 12:20:31 -0400 Subject: don't start webapp when in a git repo that has not been git-annex initted Maybe later it can prompt if they want to use the repo with git-annex, but for now this is a sane easy choice. --- Command/WebApp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/WebApp.hs b/Command/WebApp.hs index 6755763b3..a3294911f 100644 --- a/Command/WebApp.hs +++ b/Command/WebApp.hs @@ -21,7 +21,7 @@ import qualified Command.Watch import Control.Concurrent.STM def :: [Command] -def = [oneShot $ noRepo firstRun $ dontCheck repoExists $ +def = [oneShot $ noRepo firstRun $ withOptions [Command.Watch.foregroundOption, Command.Watch.stopOption] $ command "webapp" paramNothing seek "launch webapp"] -- cgit v1.2.3