Make --help work when not in a git repository. Closes: #758592
Note that this means getopt parsing is done even when not in a git repository, even though currently cmdnorepo is not passed the results of it. I'd like to move to cmdnorepo not doing its own ad-hoc option parsing, so this is really a good thing. (But as long as eg, getOptionFlag needs an Annex monad, it cannot be used in cmdnorepo handling.) There is a potential for problems if any cmdnorepo branch of a command handles options that are not in its regular getopt, but that would be a bug anyway.
This commit is contained in:
parent
4b3f03ef38
commit
37293dc28f
2 changed files with 30 additions and 21 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
git-annex (5.20140818) UNRELEASED; urgency=medium
|
||||
|
||||
* Make --help work when not in a git repository. Closes: #758592
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 19 Aug 2014 12:52:41 -0400
|
||||
|
||||
git-annex (5.20140817) unstable; urgency=medium
|
||||
|
||||
* New chunk= option to chunk files stored in special remotes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue