News for hackers. Stuff that matters.
Re:Highlights from Git 2.28 by codys on Monday July 27, 2020 @05:08PM (#23969404)
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)
Re:Highlights from Git 2.28 by paxswill on Monday July 27, 2020 @08:23PM (#23970934)
If 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