It's your script and you should do what you want, but I definitely see that as a feature, not a bug. As a decentralized version control system, the repo on disk is your source of truth. In my mind, mutating your source of truth (such as via fetch) is and should be an independent operation from searching your source of truth.
Comments
I personally do this by doing `jj log -pr ..` and then searching with my pager (/search expression).
My only nitpick with this is that it seems wrong to `git fetch` every time you want to search, but I think I understand why you did it.
Thanks for the feedback. Unfortunately `git fetch` is necessary to fetch any recent commits
It's your script and you should do what you want, but I definitely see that as a feature, not a bug. As a decentralized version control system, the repo on disk is your source of truth. In my mind, mutating your source of truth (such as via fetch) is and should be an independent operation from searching your source of truth.