update jj config aliases
This commit is contained in:
parent
d3044179f0
commit
7c86d8ead3
1 changed files with 6 additions and 1 deletions
|
@ -28,6 +28,11 @@ bsm = [
|
||||||
]
|
]
|
||||||
l = ["log", "-T", "log_oneline"]
|
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]
|
[template-aliases]
|
||||||
# adapted from log oneline
|
# adapted from log oneline
|
||||||
log_oneline = '''
|
log_oneline = '''
|
||||||
|
@ -37,7 +42,7 @@ if(root,
|
||||||
concat(
|
concat(
|
||||||
separate(" ",
|
separate(" ",
|
||||||
format_short_change_id_with_hidden_and_divergent_info(self),
|
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,
|
if(description,
|
||||||
description.first_line(),
|
description.first_line(),
|
||||||
label(if(empty, "empty"), description_placeholder),
|
label(if(empty, "empty"), description_placeholder),
|
||||||
|
|
Loading…
Reference in a new issue