I am able to grep over all branches, as suggested here, but I want to open the results in a pager such as vim. Failing:
git grep -Ovim <regexp> $(git rev-list --all)
which works without the need to go over all commits with $(git rev-list --all)
.
How can I grep over all commits in all branches and open up the results in a pager such as vim?