jj/cli/src/commands
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
..
branch cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
config cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
debug formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
file conflicts: pass around conflict contents without materialization 2024-08-28 10:23:57 +09:00
git cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
operation op diff: resolve GraphStyle by caller, remove &CommandHelper argument 2024-09-06 09:51:10 +09:00
workspace cli: implement workspace add --sparse-patterns 2024-09-06 16:22:47 -05:00
abandon.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
backout.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
bench.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
checkout.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
commit.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
describe.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
diff.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
diffedit.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
duplicate.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
edit.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
evolog.rs graphlog: inline node_template_for_key() 2024-09-06 09:51:10 +09:00
fix.rs cli: fix: add --include-unchanged-files flag to allow fixing as yet unchanged files 2024-09-06 13:50:28 -05:00
init.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
interdiff.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
log.rs graphlog: inline node_template_for_key() 2024-09-06 09:51:10 +09:00
merge.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
mod.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
move.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
new.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
next.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
parallelize.rs rewrite: pass old parent ids in to mut_repo.new_parents() by slice 2024-08-29 08:59:22 +09:00
prev.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
rebase.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
resolve.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
restore.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
root.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
run.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
show.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
sparse.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
split.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
squash.rs cli squash: explain --into in error message for merge commits 2024-09-04 21:38:55 -07:00
status.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
tag.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
unsquash.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
version.rs cli: extract CommandError and helper functions to new module 2024-03-03 01:11:46 +09:00