diff options
author | Joey Hess <joey@kitenet.net> | 2013-07-03 14:01:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-07-03 14:01:31 -0400 |
commit | ca87a1e0c2588087a849a814b94d83aa93b4867a (patch) | |
tree | 69c2533c6294eb7b753c5bbcf74334d7c9b8b642 /GitAnnex | |
parent | 104faaf5f5f958b449d79a923cf8b0ce095a0205 (diff) |
drop --all cannot check numcopies from .gitattributes, so don't implement it!
I spent a long time worrying about this problem with --all, that it cannot
check .gitattributes files for numcopies settings, and so would not be
entirely safe to use. The solution turns out to be simple, just don't
implement `git annex drop --all`. drop is the only command that needs to
check numcopies (move can also reduce the number of copies, but explicitly
bypasses numcopies settings).
Use cases that might need a drop --all are probably better served by using
unused and dropunused, which already work in a bare repository.
Diffstat (limited to 'GitAnnex')
0 files changed, 0 insertions, 0 deletions