diff options
author | 2015-09-16 12:24:34 -0400 | |
---|---|---|
committer | 2015-09-16 12:25:43 -0400 | |
commit | a910c70d23faef8f7794e31d45940a1471fbd714 (patch) | |
tree | b86e2788e9273d70d794a081481882e819769f74 /Command | |
parent | 7f225ddb9af6d87cfaf69e395192d08c32c41d7f (diff) |
info: Don't allow use in a non-git-annex repository, since it uses the git-annex branch and would create it if it were missing.
I made the change to allow in 2014 without any rationalle or associated
request that I can find.
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Info.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Info.hs b/Command/Info.hs index 9bf2101a0..25a537e8d 100644 --- a/Command/Info.hs +++ b/Command/Info.hs @@ -79,7 +79,7 @@ emptyStatInfo = StatInfo Nothing Nothing M.empty Nothing type StatState = StateT StatInfo Annex cmd :: Command -cmd = noCommit $ dontCheck repoExists $ withGlobalOptions (jsonOption : annexedMatchingOptions) $ +cmd = noCommit $ withGlobalOptions (jsonOption : annexedMatchingOptions) $ command "info" SectionQuery "shows information about the specified item or the repository as a whole" (paramRepeating paramItem) (seek <$$> optParser) |