fsck: Warn when required content is not present in the repository that requires it.
This commit was sponsored by Jack Hill on Patreon.
This commit is contained in:
parent
10bb8a860b
commit
7f5c6a28a6
5 changed files with 47 additions and 2 deletions
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2018-02-08T17:32:00Z"
|
||||
content="""
|
||||
What you're looking for is probably the [[required_content]] settings.
|
||||
|
||||
However, `git annex fsck` did not perform any checks that required content
|
||||
was present. Now it does. Enjoy!
|
||||
"""]]
|
|
@ -22,7 +22,10 @@ While [[git-annex-wanted]] is just a preference,
|
|||
[[git-annex-required]] designates content that should really not be
|
||||
removed. For example a file that is `wanted` can be removed with
|
||||
`git annex drop`, but if that file is `required`, it would need to be
|
||||
removed with `git annex drop --force`.
|
||||
removed with `git annex drop --force`.
|
||||
|
||||
Also, `git-annex fsck` will warn about required contents that are not
|
||||
present.
|
||||
|
||||
# NOTES
|
||||
|
||||
|
|
|
@ -16,3 +16,7 @@ by simply using `git annex drop`. On the other hand, required content
|
|||
settings are enforced; `git annex drop` will refuse to drop a file if
|
||||
doing so would violate its required content settings.
|
||||
(Although even this can be overridden using `--force`).
|
||||
|
||||
Also, `git-annex fsck` will warn about required contents that are not
|
||||
present.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue