jj
jj copied to clipboard
log: add `--count` flag
Inspired by @indirect's talk at JJ Con and associated discussion, introduce --count to avoid gnarly one-liners like:
jj log --no-graph -r "main..@ & (~empty() | merges())" -T '"n"' 2> /dev/null | wc -c | tr -d ' '