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
Showing the changes to docs (1 of 8 files). Show all
Unified · Split
| @@ -2,9 +2,12 @@ · 1 unmodified line | |||
| 2 | 2 | ||
| 3 | These are the config settings available to jj/Jujutsu. | 3 | These are the config settings available to jj/Jujutsu. |
| 4 | 4 | ||
| 5 | The config settings are located at `~/.jjconfig.toml`. Less common ways | 5 | The config settings are loaded from the following locations. Less common ways |
| 6 | to specify `jj` config settings are discussed in a later section. | 6 | to specify `jj` config settings are discussed in a later section. |
| 7 | 7 | ||
| 8 | * `~/.jjconfig.toml` (global) | ||
| 9 | * `.jj/repo/config.toml` (per-repository) | ||
| 10 | |||
| 8 | See the [TOML site](https://toml.io/en/) for more on syntax. | 11 | See the [TOML site](https://toml.io/en/) for more on syntax. |
| 9 | One thing to remember is that anything under a heading can be dotted | 12 | One thing to remember is that anything under a heading can be dotted |
| 10 | e.g. `user.name = "YOUR NAME"` is equivalent to: | 13 | e.g. `user.name = "YOUR NAME"` is equivalent to: |