improve git-annex-drop man page required content docs
Does --unused bypass required content checks in any meaningful sense? I documented it as such but am unsure of what required content setting would be considered to match unused content.
This commit is contained in:
parent
c28f9b34c2
commit
f64eac55a4
2 changed files with 12 additions and 6 deletions
|
@ -1 +1,3 @@
|
||||||
The [[`git-annex-drop`|git-annex-drop]] man page warns for several options: "bypasses checking the .gitattributes `annex.numcopies` setting". I'm guessing these also bypass [[`git-annex-required`|git-annex-required]] ? If yes, maybe add that to the manpage.
|
The [[`git-annex-drop`|git-annex-drop]] man page warns for several options: "bypasses checking the .gitattributes `annex.numcopies` setting". I'm guessing these also bypass [[`git-annex-required`|git-annex-required]] ? If yes, maybe add that to the manpage.
|
||||||
|
|
||||||
|
> Good spotting, I've done so. [[done]] --[[Joey]]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# NAME
|
#a NAME
|
||||||
|
|
||||||
git-annex drop - remove content of files from repository
|
git-annex drop - remove content of files from repository
|
||||||
|
|
||||||
|
@ -12,7 +12,11 @@ Drops the content of annexed files from this repository, when
|
||||||
possible.
|
possible.
|
||||||
|
|
||||||
git-annex will refuse to drop content if it cannot verify it is
|
git-annex will refuse to drop content if it cannot verify it is
|
||||||
safe to do so.
|
safe to do so. Usually this involves verifying that the content is stored
|
||||||
|
in some other repository.
|
||||||
|
|
||||||
|
Content that is required to be stored in the repository will not be dropped
|
||||||
|
even if enough copies exist elsewhere. See [[git-annex-required]](1).
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
|
@ -43,28 +47,28 @@ safe to do so.
|
||||||
This is the default behavior when running git-annex drop in a bare repository.
|
This is the default behavior when running git-annex drop in a bare repository.
|
||||||
|
|
||||||
Note that this bypasses checking the .gitattributes annex.numcopies
|
Note that this bypasses checking the .gitattributes annex.numcopies
|
||||||
setting.
|
setting and required content settings.
|
||||||
|
|
||||||
* `--branch=ref`
|
* `--branch=ref`
|
||||||
|
|
||||||
Drop files in the specified branch or treeish.
|
Drop files in the specified branch or treeish.
|
||||||
|
|
||||||
Note that this bypasses checking the .gitattributes annex.numcopies
|
Note that this bypasses checking the .gitattributes annex.numcopies
|
||||||
setting.
|
setting and required content settings.
|
||||||
|
|
||||||
* `--unused`
|
* `--unused`
|
||||||
|
|
||||||
Drop files found by last run of git-annex unused.
|
Drop files found by last run of git-annex unused.
|
||||||
|
|
||||||
Note that this bypasses checking the .gitattributes annex.numcopies
|
Note that this bypasses checking the .gitattributes annex.numcopies
|
||||||
setting.
|
setting and required content settings.
|
||||||
|
|
||||||
* `--key=keyname`
|
* `--key=keyname`
|
||||||
|
|
||||||
Use this option to drop a specified key.
|
Use this option to drop a specified key.
|
||||||
|
|
||||||
Note that this bypasses checking the .gitattributes annex.numcopies
|
Note that this bypasses checking the .gitattributes annex.numcopies
|
||||||
setting.
|
setting and required content settings.
|
||||||
|
|
||||||
* file matching options
|
* file matching options
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue