jj-vcs/jj

FR: Allow exclusions in sparse checkouts

Open

#1.896 geöffnet am 22. Juli 2023

Auf GitHub ansehen
 (4 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (1.052 Forks)batch import
good first issuepolishđŸȘ’đŸƒ

Repository-Metriken

Stars
 (28.830 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 23T 5h) (46 gemergte PRs in 30 T)

Beschreibung

I'd like to be able to specify a few prefixes to exclude from my working copy.

Currently jj sparse set only allows positive patterns. To get what I want, I have to

  • jj sparse set --clear
  • jj sparse set --add everything except the patterns I want to exclude
  • continually repeat that previous step as new paths are introduced

It would be a lot more convenient to just be able to do something like jj sparse set --remove someprefix, or add some negated prefixes via jj sparse set --edit and have it work.

Contributor Guide