jj: Improve default log invocation
The default log invoked when hitting `j` is now composed of the working copy history as well as all ancestors, recent commits to visible heads and the trunk. `jl` shows the same view, only as oneline commits.
This commit is contained in:
parent
9f4b3b14e7
commit
2eccfe88ec
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ if ! exist jj; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias j='jj' # necessary for a thing as easy to type?
|
alias j="jj log -r '@ | ancestors(trunk()..(visible_heads() & mine()), 2) | trunk()'"
|
||||||
if exist lazyjj; then
|
if exist lazyjj; then
|
||||||
alias lj="lazyjj"
|
alias lj="lazyjj"
|
||||||
fi
|
fi
|
||||||
|
|
@ -16,7 +16,7 @@ alias jds="jj describe"
|
||||||
alias jc="jj commit"
|
alias jc="jj commit"
|
||||||
|
|
||||||
alias jln="jj log -T builtin_log_oneline"
|
alias jln="jj log -T builtin_log_oneline"
|
||||||
alias jl="jj log -r '@ | ancestors(remote_bookmarks().., 2) | trunk()'"
|
alias jl="jj log -r '@ | ancestors(trunk()..(visible_heads() & mine()), 3) | trunk()' -T builtin_log_oneline"
|
||||||
alias jL="jj log -r 'all()'"
|
alias jL="jj log -r 'all()'"
|
||||||
alias jlo="jj log --summary"
|
alias jlo="jj log --summary"
|
||||||
alias jLO="jj log --summary -r 'all()'"
|
alias jLO="jj log --summary -r 'all()'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue