From 3d898d0a06c813de7a1189366504133babc54afc Mon Sep 17 00:00:00 2001 From: Eidolon Date: Fri, 3 May 2024 16:09:24 -0500 Subject: [PATCH] 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. --- docs/config.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/config.md b/docs/config.md index b3a162948..ec27c07e3 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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