Replies: 1 comment 1 reply
-
|
The status rune are generated here: chezmoi/internal/cmd/statuscmd.go Lines 61 to 85 in 21f8923 and here: chezmoi/internal/cmd/statuscmd.go Lines 102 to 121 in 21f8923 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Listing possible status code pairs returned by
chezmoi statusfor a limited subset to support in the TUI/GUI app.Subset limitations and assumptions:
Considering only combinations of "A", "D", "M" and a space, represented by "S" for readability. (excluding "R" for now)
The repository can contain templates to manage machine to machine differences.
Chezmoi init:
chezmoi init <remote_repo>, so without the --apply flagchezmoi purgeExisting repo operations:
The following limited sub set of commands are in use (autocommit enabled)
I'm not 100% sure about the possible combinations. Some of the entries are obviously impossible, but I want to list them for completeness.
Combinations for `chezmoi status --include=files
(please note, assuming autocommit is enabled)
AA # impossible
AD # impossible
AM # impossible
AS # impossible
DA # impossible
DD # impossible
DM # possible
DS # impossible
MA # possible
MD # possible
MM # possible
MS # impossible
SA # possible
SD # possible
SM # possible
Possible combinations for `chezmoi status --include=dirs
(please note, assuming autocommit is enabled)
AA # impossible
AD # impossible
AM # impossible
AS # impossible
DA # impossible
DD # impossible
DM # impossible
DS # impossible
MA # impossible
MD # impossible
MM # impossible
MS # impossible
SA # possible
SD # possible
SM # possible
PS: app is wip, no release yet
Beta Was this translation helpful? Give feedback.
All reactions