jj: Make aliased log revset default in config
Instead of aliasing the revset I am always using currently, we simply set it to be the default for any log command. If we want a different revset we can still supply it. Other aliases keep different revsets (e.g. `jL` variants for `all()` revsets).
This commit is contained in:
parent
14e3364155
commit
25c6788247
2 changed files with 5 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ if ! exist jj; then
|
|||
return 1
|
||||
fi
|
||||
|
||||
alias j="jj log -r '@ | ancestors(trunk()..(visible_heads() & mine()), 2) | trunk()'"
|
||||
alias j="jj"
|
||||
if exist lazyjj; then
|
||||
alias lj="lazyjj"
|
||||
fi
|
||||
|
|
@ -35,8 +35,7 @@ alias jss="jj squash"
|
|||
alias jsi="jj squash --interactive"
|
||||
|
||||
# revset info
|
||||
alias jln="jj log -T builtin_log_oneline"
|
||||
alias jl="jj log -r '@ | ancestors(trunk()..(visible_heads() & mine()), 3) | trunk()' -T builtin_log_oneline"
|
||||
alias jl="jj log -T builtin_log_oneline"
|
||||
alias jL="jj log -r 'all()'"
|
||||
alias jlo="jj log --summary"
|
||||
alias jLO="jj log --summary -r 'all()'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue