jj: Improve jj WIP commit search
Restrict the default search to commits _starting_ with 'WIP:', to avoid accidentally selecting commits which just contain the word 'WIP:' somewhere in the description.
This commit is contained in:
parent
83e2b9f31b
commit
b1f751a82d
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ jlof() {
|
||||||
jloof() {
|
jloof() {
|
||||||
jj log --patch -r "description(substring-i:\"$*\")"
|
jj log --patch -r "description(substring-i:\"$*\")"
|
||||||
}
|
}
|
||||||
alias jlfw='jj log -r "description(substring-i:\"WIP:\")"'
|
alias jlfw='jj log -r "description(regex:\"^WIP:\")"'
|
||||||
|
|
||||||
# show branches (i.e. head commits) w a couple previous commits
|
# show branches (i.e. head commits) w a couple previous commits
|
||||||
alias jh="jj log -r 'ancestors(heads(all()), 3)'"
|
alias jh="jj log -r 'ancestors(heads(all()), 3)'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue