diff options
author | Joey Hess <joey@kitenet.net> | 2011-12-01 17:40:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-01 17:40:26 -0400 |
commit | 3953f7ab81f4edd540ab66fe25ebec56dc9c7ebc (patch) | |
tree | 0a9ee4f1ea57fc7655e385570e533b02bb8c1cb5 /doc/todo/add_-all_option.mdwn | |
parent | 2b3c120506f1f25b4c3d0e19342b9826bde0b3b5 (diff) |
idea
Diffstat (limited to 'doc/todo/add_-all_option.mdwn')
-rw-r--r-- | doc/todo/add_-all_option.mdwn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/add_-all_option.mdwn b/doc/todo/add_-all_option.mdwn new file mode 100644 index 000000000..cb4722fa7 --- /dev/null +++ b/doc/todo/add_-all_option.mdwn @@ -0,0 +1,16 @@ +`--all` would make git-annex operate on either every key with content +present (or in some cases like `get` and `copy --from` on +every keys with content not present). + +This would be useful when a repository has a history with deleted files +whose content you want to keep (so you're not using `dropunused`). +Or when you have a lot of branches and just want to be able to fsck +every file referenced in any branch. + +A problem with the idea is that `.gitattributes` values for keys not +currently in the tree would not be available (without horrific anounts of +grubbing thru history to find where/when the key used to exist). So +`numcopies` set via `.gitattributes` would not work. This would be a +particular problem for `drop` and for `--auto`. + +--[[Joey]] |