Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Explicitly match `ListArgs`
Lorenz Leutgeb committed 6 months ago
commit 0fa58829b49ac11cb7cc6541bbb5950cecb73cdf
parent cfa6fc26eb5600447bb5b75a64be78f8d2c8ab41
1 file changed +3 -3
modified crates/radicle-cli/src/commands/remote/args.rs
@@ -140,9 +140,9 @@ impl From<ListArgs> for ListOption {
        }: ListArgs,
    ) -> Self {
        match (all, tracked, untracked) {
-
            (true, _, _) => Self::All,
-
            (_, true, _) => Self::Tracked,
-
            (_, _, true) => Self::Untracked,
+
            (true, false, false) => Self::All,
+
            (false, true, false) => Self::Tracked,
+
            (false, false, true) => Self::Untracked,
            _ => unreachable!(),
        }
    }