From 7c86d8ead3eab5e3b45735743e3adbba3e1f4b89 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 9 Jan 2025 13:42:50 -0600 Subject: [PATCH] update jj config aliases --- home/private_dot_config/private_jj/config.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/private_dot_config/private_jj/config.toml b/home/private_dot_config/private_jj/config.toml index 3977671..7464cdd 100644 --- a/home/private_dot_config/private_jj/config.toml +++ b/home/private_dot_config/private_jj/config.toml @@ -28,6 +28,11 @@ bsm = [ ] l = ["log", "-T", "log_oneline"] +[revsets] +log = "present(@) | ancestors(immutable_heads().., 3) | present(trunk())" +# default +# log = "present(@) | ancestors(immutable_heads().., 2) | present(trunk())" + [template-aliases] # adapted from log oneline log_oneline = ''' @@ -37,7 +42,7 @@ if(root, concat( separate(" ", format_short_change_id_with_hidden_and_divergent_info(self), - if(author.email(), author.username(), email_placeholder), + if(author.email(), author.email().local(), email_placeholder), if(description, description.first_line(), label(if(empty, "empty"), description_placeholder),