eefc026370
Fix a reversion that made dead keys not be skipped when operating on all keys via --all or in a bare repo. (Introduced in version 8.20200720) Also, improved the documentation of git-annex-dead, it does not only apply to fsck --all. Also, made git-annex fsck, when run on a file whose key is dead, display that. Before, it displayed that only when run with --all, but with this fix, it skips dead keys with --all. But it can still be run on a file that uses a dead key, and displaying "This key is dead" explains to the user why it does not consider missing content for it to be a problem. Sponsored-by: k0ld on Patreon
55 lines
1.2 KiB
Markdown
55 lines
1.2 KiB
Markdown
# NAME
|
|
|
|
git-annex dead - hide a lost repository or key
|
|
|
|
# SYNOPSIS
|
|
|
|
git annex dead `[repository ...] [--key somekey]`
|
|
|
|
# DESCRIPTION
|
|
|
|
This command exists to deal with situations where data has been lost,
|
|
and you know it has, and you want to stop being reminded of that fact.
|
|
|
|
When a repository is specified, indicates that the repository has
|
|
been irretrievably lost, so it will not be listed in eg, `git annex info`.
|
|
Repositories can be specified using their remote name, their
|
|
description, or their UUID. (To undo, use `git-annex semitrust`.)
|
|
|
|
When a key is specified, indicates that the content of that key has been
|
|
irretrievably lost. This makes the key be skipped when operating
|
|
on all keys with eg `--all`.
|
|
(To undo, add the key's content back to the repository,
|
|
by using eg, `git-annex reinject`.)
|
|
|
|
# OPTIONS
|
|
|
|
* `--key=somekey`
|
|
|
|
Use to specify a key that is dead.
|
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
# SEE ALSO
|
|
|
|
[[git-annex]](1)
|
|
|
|
[[git-annex-trust]](1)
|
|
|
|
[[git-annex-semitrust]](1)
|
|
|
|
[[git-annex-untrust]](1)
|
|
|
|
[[git-annex-renameremote]](1)
|
|
|
|
[[git-annex-expire]](1)
|
|
|
|
[[git-annex-fsck]](1)
|
|
|
|
[[git-annex-reinject]](1)
|
|
|
|
# AUTHOR
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|