jj-vcs/jj

FR: Allow exclusions in sparse checkouts

オープン

#1,896 opened on 2023/07/22

 (4 件のコメント) (1 件のリアクション) (0 人の担当者)Rust (1,052 件のフォーク)batch import
good first issuepolish🪒🐃

Repository metrics

Stars
 (28,830 個のスター)
PR merge metrics
 (平均マージ 20d 3h) (30d で 58 merged PRs)

説明

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.

コントリビューターガイド