mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
cli: enable glob string matching globally
The goal of this change is to unify defaults of string patterns in revsets and command arguments. Glob is a good default because it's largely the same as exact matching, and we can easily express substring patterns with globs. The hint for "jj git fetch -b<glob>" is deleted since exact:<glob> is now required in order to trigger the error. This patch also updates help of clone/fetch --branch patterns. Glob and operator support in refspecs is limited.
This commit is contained in:
parent
8765e92eca
commit
b9317da0f8
36 changed files with 263 additions and 260 deletions
|
|
@ -169,8 +169,9 @@ local bookmarks. This means that if you want to iterate or test another
|
|||
contributor's bookmark, you'll need to do `jj new <bookmark>@<remote>` onto it.
|
||||
|
||||
If you want to import all remote bookmarks including inactive ones, set
|
||||
`remotes.<name>.auto-track-bookmarks = "glob:*"` in the config file. Then you can specify a
|
||||
contributor's bookmark as `jj new <bookmark>` instead of `jj new <bookmark>@<remote>`.
|
||||
`remotes.<name>.auto-track-bookmarks = "*"` in the config file. Then you can
|
||||
specify a contributor's bookmark as `jj new <bookmark>` instead of `jj new
|
||||
<bookmark>@<remote>`.
|
||||
|
||||
You can find more information on that setting [here][auto-bookmark].
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue