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 /doc/git-annex.mdwn | |
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 'doc/git-annex.mdwn')
-rw-r--r-- | doc/git-annex.mdwn | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index e3d6ef4dc..012b7595c 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -610,10 +610,6 @@ subdirectories). normal behavior is to only operate on specified files in the working tree. - Note that using --all makes .gitattributes annex.numcopies settings - not be honored. Other numcopies settings are still taken into account. - --all cannot be combined with --auto. - * --quiet Avoid the default verbose display of what is done; only show errors |