jj-vcs/jj

FR: Allow exclusions in sparse checkouts

Open

#1 896 ouverte le 22 juil. 2023

Voir sur GitHub
 (4 commentaires) (1 réaction) (0 assignés)Rust (1 052 forks)batch import
good first issuepolish🪒🐃

Métriques du dépôt

Stars
 (28 830 stars)
Métriques de merge PR
 (Merge moyen 23j 5h) (46 PRs mergées en 30 j)

Description

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.

Guide contributeur