diff options
author | 2015-01-13 16:29:45 -0400 | |
---|---|---|
committer | 2015-01-13 16:29:45 -0400 | |
commit | 381b9e1beaa39c9b95af25eabb023c61440bb28a (patch) | |
tree | adbf15faedf81c681c78b252df3a172af6b2e500 /doc/todo | |
parent | bcf835ac81b0901aa9794abff7294c55da0e4bf3 (diff) |
show how to do what I think was wanted here
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/wishlist:_git_annex_info_._also_return_numcopies_setting.mdwn | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_git_annex_info_._also_return_numcopies_setting.mdwn b/doc/todo/wishlist:_git_annex_info_._also_return_numcopies_setting.mdwn index 7ab493083..ac29c169f 100644 --- a/doc/todo/wishlist:_git_annex_info_._also_return_numcopies_setting.mdwn +++ b/doc/todo/wishlist:_git_annex_info_._also_return_numcopies_setting.mdwn @@ -1 +1,44 @@ The stats produced by `git annex info .` are nice but I often find myself separately looking up the actual numcopies set value. Can this also be included in the report please? + +> There is not necessarily one single numcopies setting; gitattributes +> can configure different numcopies for different files. +> +> The numcopies stats in the report are reported as plus or +> minus relative to the numcopies setting. Using a relative number like +> that, it can eliminate the complexity of which files have which +> numcompies setting. + +<pre> +numcopies stats: + numcopies +0: 27 + numcopies +1: 43 + numcopies +2: 1 +</pre> + +> What could be added is a summary of the absolute number of copies +> that exist of files, without taking the numcopies configuration +> into account. + +<pre> +absolute number of copies: + 1 copy: 47 + 2 copies: 23 + 3 copies: 1 +</pre> + +> It turns out you can already get this display though! +> Just use `git annex info . --numcopies=0`. + +<pre> +numcopies stats: + numcopies +1: 47 + numcopies +2: 23 + numcopies +3: 1 +</pre> + +> So, in this mode, it's showing the number of copies that exist of files, +> relative to numcopies, which is forced to be 0. So, there are 47 files +> with 1 copy, 23 with 2 copies, and 1 with 3 copies. +> +> I think I've convinced myself no changes need to be made! [[done]] +> --[[Joey]] |