3 ms·
The one issue I've seen with using `-p` here is that `git log -p` has worse performance when compared to plain `git log` because it needs to calculate diffs, an
by codys 6y ago
The one issue I've seen with using `-p` here is that `git log -p` has worse performance when compared to plain `git log` because it needs to calculate diffs, and when searching in less ends up searching the diff contents (even when this is not desired)
- paxswill 6y agoIf you know the specific string (or regex) you’re searching for in the commit messages, combining `-p` with one of the pickaxe [0] options might be a bit faster. 0: http://www.philandstuff.com/2014/02/09/git-pickaxe.html http://www.philandstuff.com/2014/02/09/git-pickaxe.html