> I think --author and --grep uses the same internal pattern matching > engine, so with --invert-grep, I would not be surprised if the > command looks for commits that do not have Revert and (or is that > or? I dunno) not authored by Shachar. Possibly, but the flag is called --invert-grep not --invert-matches so one would expect it to revert grep only. Though behaviour contrary to user expectations is not an unusual property of git :) Other than piping to e.g. awk or worse, how would one get the commits by a particular author that do not have a specific string in the commit message? Prettying to oneline would make the piping easier to at least get the commit ids, but I'd like to see the whole commit message and affected files. Thanks, Junio.