Expand description
The grammar of git cli-git convert-worktree-to-subvolume.
What:
The grammar of git cli-git convert-worktree-to-subvolume.
Why:
The grammar is parsed on every platform by the management namespace; only the run needs Linux and btrfs.
In TS you’d write (pseudocode):
const arguments = parseConvertArguments(['--dry-run', '--all']);Structs§
- Convert
Arguments - What: The parsed options. Why: The parse is separate from the run so the grammar is controlled without a filesystem.
Constants§
- CONVERT_
HELP - The text of
--help. - RISK_
NOTICE - The one line printed on standard error when a conversion runs, before anything is removed.
Functions§
- parse_
convert_ arguments - What:
Parse the words after
convert-worktree-to-subvolume. Why: A refusal names the word it refused. - selects_
attribute_ source - What:
Whether the global options before
cli-gitchoose an attribute source:--attr-source,-c attr.tree=...or--config-env=attr.tree=.... Why: Git would then take its attributes from a tree, which the conversion’s content check does not read, so the check refuses to decide by content.