jj-vcs/jj

FR: Allow exclusions in sparse checkouts

开放

#1,896 创建于 2023年7月22日

 (4 条评论) (1 个反应) (0 位负责人)Rust (1,052 个派生)batch import
good first issuepolish🪒🐃

仓库指标

星标
 (28,830 个星标)
PR 合并指标
 (平均合并 20天 3小时) (30 天内合并 58 个 PR)

描述

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.

贡献者指南