Add default value of revsets.log to config docs

I wanted to have a reference point for the built-in revsets,
but `jj config get revsets.log` doesn't turn anything up since
it has special handling for the legacy config key
`ui.default-revset`. So I had to dig into the source code of jj
to get it.

I think it might help others to be able to reason about revsets
to have the log default shown in the settings documentation.
This commit is contained in:
Eidolon 2024-05-03 16:09:24 -05:00 committed by Martin von Zweigbergk
parent f1fd1d8071
commit 3d898d0a06

View file

@ -222,6 +222,8 @@ You can configure the revisions `jj log` would show when neither `-r` nor any pa
revsets.log = "main@origin.."
```
The default value for `revsets.log` is `'@ | ancestors(immutable_heads().., 2) | trunk()'`.
### Graph style
```toml