As we tried earlier, we can use the --grep option to find specific strings in commit messages. In this recipe, we look at the entire history and search every commit that has "Performance" in its commit message:
$ git log --grep "Performance" --oneline --all e3f19a529 Performance improvement on writing a large index83ad74b6b SHA-1: collision detection support48e245fc6 RefTreeDatabase: Ref database using refs/txn/committed087b5051f Skip redundant 'OR-reuse' step in tip commit bitmap setup9613b04d8 Merge "Performance fixes in DateRevQueue"84afea917 Performance fixes in DateRevQueue7cad0adc7 DHT: Remove per-process ChunkCached9b224aeb Delete DiffPerformanceTeste7a3e590e Reuse DiffPerformanceTest support code to validate algorithms ...