From 418890c5cb6deee89ccbd05ebfcfc68ae1f9569f Mon Sep 17 00:00:00 2001 From: "https://christian.amsuess.com/chrysn" Date: Tue, 17 Dec 2019 09:21:52 +0000 Subject: [PATCH] ask for --key on git-annex-inprogress --- doc/todo/git-annex-inprogress_--key.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/todo/git-annex-inprogress_--key.mdwn diff --git a/doc/todo/git-annex-inprogress_--key.mdwn b/doc/todo/git-annex-inprogress_--key.mdwn new file mode 100644 index 0000000000..f96d381e64 --- /dev/null +++ b/doc/todo/git-annex-inprogress_--key.mdwn @@ -0,0 +1,8 @@ +Unlike `whereis` and other subcommands, `inprogress` does not offer a `--key` argument to select files by key rather than checked-out name, +making it unusable in bare repositories. + +Please consider adding a `--key` option there, which would display the single incomplete file corresponding to the key if one is in progress. + +My use case is serving git-annexed files to the web from a bare repository (, see also [[todo/git-annex-cat]]), which would be especially useful with gitolite repositories as they are by design bare, and on devices where checkouts are cumbersome (cf. [[forum/Dealing_with_crippled_Android_file_system]]). + +A workaround is running `git annex inprogress --all | grep $KEY`, but that's probably relying on an implementation detail that could be changed at any time (though it probably won't as to avoid race conditions as in `tail -f $(git annex inprogress file-thats-almost.done)`).