jj: Rename head log alias to jlh

`jlh` shows all heads (leaf changes) without any additional commits,
while `JLH` shows all heads with 3 ancestor commits each for some
additional context.
This commit is contained in:
Marty Oehme 2025-12-12 23:46:37 +01:00
parent 4e06f2e23b
commit 0a6f591817
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 4 additions and 2 deletions

View file

@ -58,7 +58,8 @@ def --wrapped jloof [search: string, ...flags] {
alias jlfw = jj log -r "wip()" # Find 'WIP:'-prefixed changes
alias jlfp = jj log -r "private()" # Find 'PRIVATE:'-prefixed changes
alias jh = jj log -r 'ancestors(heads(all()), 3)'
alias jlh = jj log -r 'heads(all())'
alias JLH = jj log -r 'ancestors(heads(all()), 3)'
alias jrb = jj rebase

View file

@ -70,7 +70,8 @@ alias jlfw='jj log -r "wip()"'
alias jlfp='jj log -r "private()"'
# show branches (i.e. head commits) w a couple previous commits
alias jh="jj log -r 'ancestors(heads(all()), 3)'"
alias jlh="jj log -r 'heads(all())'"
alias JLH="jj log -r 'ancestors(heads(all()), 3)'"
alias jrb="jj rebase"