jj/cli
Stephen Jennings 08f2e21ebf
Some checks are pending
binaries / Build binary artifacts (push) Waiting to run
website / prerelease-docs-build-deploy (ubuntu-24.04) (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
config: add platforms conditional configuration
Adds a new `--when.platforms` condition for including configuration.
This is useful when someone syncs their dotfiles across machines.

The values for `platforms` are defined by `std::env::consts::FAMILY` and
``std::env::consts::OS. Any Unix-family platform can be specified using
the value `"unix"`, or individual operation systems can be chosen with
`"linux"`, `"macos"`, or `"windows"`.

Example:

```toml
ui.pager = ["less", "-FRX"]

[[--scope]]
--when.platforms = ["windows"]
ui.pager = ["C:/Program Files/Git/usr/bin/less.exe", "-FRX"]
```
2025-09-11 06:33:20 +00:00
..
examples cli, lib: convert revset expressions to use Arc over Rc 2025-09-05 16:09:44 +00:00
src config: add platforms conditional configuration 2025-09-11 06:33:20 +00:00
testing cli: add jj bisect run command 2025-09-04 14:30:52 +00:00
tests files: add option to resolve conflicts word by word 2025-09-09 03:44:16 +00:00
build.rs build.rs: separate commit ids if compiling at a merge commit 2025-07-08 02:38:21 +00:00
Cargo.toml cli: add jj bisect run command 2025-09-04 14:30:52 +00:00
docs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00