jj: Fix jlf alias function quoting

Fixed quoting so that we can now also search for things which would have
a meaning in jj, e.g. `jlf 'WIP:'` (jj would pick up the ':' and
complain before).
This commit is contained in:
Marty Oehme 2025-02-25 19:09:39 +01:00
parent a3f30cf228
commit 8c28d8f7d5
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -55,7 +55,7 @@ alias jloo="jj log --patch"
alias JLOO="jj log --patch -r 'all()'"
alias jol="jj op log"
jlf() {
jj log -r "description($*)"
jj log -r "description(\"$*\")"
}
jlof() {
jj log --summary -r "description($*)"