diff options
author | 2013-07-03 14:01:31 -0400 | |
---|---|---|
committer | 2013-07-03 14:01:31 -0400 | |
commit | ca87a1e0c2588087a849a814b94d83aa93b4867a (patch) | |
tree | 69c2533c6294eb7b753c5bbcf74334d7c9b8b642 | |
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.
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | doc/git-annex.mdwn | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog index e02188bd6..4f7a01a48 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,8 @@ git-annex (4.20130628) UNRELEASED; urgency=low * --all: New switch that makes git-annex operate on all data stored in the git annex, including old versions of files. Supported by - fsck, get, drop, move, copy, migrate. - * get, drop, move, copy, migrate: Can now be run in a bare repository, + fsck, get, move, copy, migrate. + * get, move, copy, migrate: Can now be run in a bare repository, like fsck already could. --all is enabled automatically in this case. * webapp: Fix ssh setup with nonstandard port, broken in last release. 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 |