ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Austin Seipp a31fe7f6d6 cli: implement workspace add --sparse-patterns
This flag implements three modes:

- `copy`: copy sparse patterns from parent
- `full`: do not copy sparse patterns from parent
- `empty`: clear all paths, equal to `set --clear`

This is useful for various tooling like tools that want to run a parallel
process that queries the build system (without running into locks/blocking.)

I think continuing to copy sparse patterns makes sense as the default behavior.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2024-09-06 16:22:47 -05:00
..
examples backend: make write methods async 2024-09-04 18:34:11 -07:00
src cli: implement workspace add --sparse-patterns 2024-09-06 16:22:47 -05:00
testing formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
tests cli: implement workspace add --sparse-patterns 2024-09-06 16:22:47 -05:00
build.rs cli/build-rs: remove metadata command dependency in favor of env vars 2024-09-03 22:31:17 -07:00
Cargo.toml cli/build-rs: remove metadata command dependency in favor of env vars 2024-09-03 22:31:17 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00