assistant --autostart: Refuse to start in a bare git repository.

This commit is contained in:
Joey Hess 2014-02-28 19:47:05 -04:00
parent f70d0479d5
commit c8528864e1
2 changed files with 3 additions and 2 deletions

View file

@ -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]

3
debian/changelog vendored
View file

@ -3,8 +3,9 @@ git-annex (5.20140228) UNRELEASED; urgency=medium
* Probe for quvi version at run time.
* webapp: Filter out from Switch Repository list any
repositories listed in autostart file that don't have a
git directory anymore.
git directory anymore. (Or are bare)
* webapp: Refuse to start in a bare git repository.
* assistant --autostart: Refuse to start in a bare git repository.
-- Joey Hess <joeyh@debian.org> Fri, 28 Feb 2014 14:52:15 -0400