Re: Git bug: Filter ignored when "--invert-grep" option is used.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux