log: Support --key, as well as --branch and --unused

--all remains a special case, since it is more efficient and displays in a
nicer order.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
Joey Hess 2025-01-03 15:45:42 -04:00
parent e77934b920
commit 0815c82bb1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 27 additions and 14 deletions

View file

@ -38,6 +38,18 @@ false, information may not have been committed to the branch yet.
In this mode, the names of files are not available and keys are displayed
instead.
* `--key=keyname`
Displays the location log for the specified key.
* `--branch=ref`
Displays the location log for the files in the specified branch or treeish.
* `--unused`
Displays the location log for files found by last run of git-annex unused.
* `--sizesof=repository`
Displays a history of the total size of the annexed files in a repository

View file

@ -13,3 +13,5 @@ In my case -- doing archaeology on AFNI's test data in [https://github.com/afni/
[[!meta author=yoh]]
[[!tag projects/repronim]]
> [[done]] --[[Joey]]