Sublime Forum

How to "search" in only one branch?


I commit in two branches and I want to narrow down my search to only one of them. How do I do it ?
Is there a branch filter ? or anything to that effect?

1 Like



The only way I’ve found is to add branch:master to my search criteria.

However, I would still like a way to see “at a glance” the branch tips in which search results appear. I often struggle to interpret results in a large repo when there could be multiple release branches that contain search hits. I usually have to click each commit, press Esc to try to find it in the branches view, and if that fails (due to branch hiding), click “parent” of the commit to find that one.

Separately, it also seems kind of confusing that the search results are shown as if they are all connected, when they may very well be entirely separate.

1 Like