I thought that 'git annex info' should be the best location to report current version (6 or before ATM?) of the repository, which seems to be stored only within .git/config. so I see how it somewhat possibly doesn't fit 'git annex info' which reports primarily from the state of git-annex branch, but since even "available local disk space" is in there, version better be reported there as well imho
Closing because it seems I don't need to do anything. done --Joey
Currently
git annex version
shows the repo version. I think this makes sense since it also shows repo versions that can be upgraded to, etc.It seems redundant to report it in two places.
git doesn't provide any command that outputs the repo version AFAIK, so it's not a useful precedent.
Good point about --json. But, you can get the annex repo version in machine parsable format using
git config annex.version
well -- exactly that --
git version
DOES NOT output repos (its index or whatnot) version HERE. It only provides information about git's version Either there is some git command which outputs repo (index, ...) version is somewhat independent. But ok -- I don't care much enough, can take version from git config I guess indeed, even though 'annex info' seems to be the most logical location for that information to be provided from as well IMHO