ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Yuya Nishihara 426ee1c154 cli: abuse Cow to declare RevisionArg("@") constant
I'm going to make all WorkspaceCommandHelper::parse/resolve_revset functions
accept &RevisionArg, so I want a convenient way to unwrap Option<RevisionArg>.

Another option is to add an associated function that returns
RwvisionArg("@".to_owned()). As we wouldn't care for the allocation cost, either
approach should work fine.
2024-04-03 15:30:30 +09:00
..
examples cli: add a Ui::status() helper for writing non-error to stderr 2024-04-01 13:00:27 -07:00
src cli: abuse Cow to declare RevisionArg("@") constant 2024-04-03 15:30:30 +09:00
testing
tests cli: add better error message when immutable_heads() cannot be resolved 2024-04-03 07:58:00 +02:00
build.rs
Cargo.toml
LICENSE