When not run in a git repository, git-annex can still display a usage message, and "git annex version" even works.
Things that sound simple, but are made hard by the Annex monad being built with the assumption that there will always be a git repo.
This commit is contained in:
parent
84784e2ca1
commit
2bb6b02948
9 changed files with 38 additions and 18 deletions
|
@ -3,3 +3,5 @@ was checking the version of git-annex on a machine before cloning a repo...
|
|||
$ git annex version
|
||||
git-annex: Not in a git repository.
|
||||
|
||||
> made difficult by the Annex monad, but I made it work! --[[Joey]]
|
||||
> [[done]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue