mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
cli: load configs from .jj/repo/config.toml
Since per-repo config may contain CLI settings, it must be visible to CLI. Therefore, UserSettings::with_repo() -> RepoSettings isn't used, and its implementation is nullified by this commit. #616
This commit is contained in:
parent
810789a830
commit
ea96ea3ffe
8 changed files with 130 additions and 14 deletions
|
|
@ -2,9 +2,12 @@
|
|||
|
||||
These are the config settings available to jj/Jujutsu.
|
||||
|
||||
The config settings are located at `~/.jjconfig.toml`. Less common ways
|
||||
The config settings are loaded from the following locations. Less common ways
|
||||
to specify `jj` config settings are discussed in a later section.
|
||||
|
||||
* `~/.jjconfig.toml` (global)
|
||||
* `.jj/repo/config.toml` (per-repository)
|
||||
|
||||
See the [TOML site](https://toml.io/en/) for more on syntax.
|
||||
One thing to remember is that anything under a heading can be dotted
|
||||
e.g. `user.name = "YOUR NAME"` is equivalent to:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue