Re: How can I search git log with ceratin keyword but without the other keyword?

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

 



Thank you for your reply.

>Perhaps the definition of "distant future" is about 8 years ;-)
>https://lore.kernel.org/git/7vr4q45y65.fsf@xxxxxxxxxxxxxxxxxxxxxxxx/
I read this post and did the test like this:
git log --grep=12 --grep-and --grep-not \--grep-\(--grep=comments\)
fatal: unrecognized argument: --grep-and

I found it doesn't work for git version 2.7.4.

After reading it carefully again and again, I finally understood what
you mean by
"distant future" is about 8 years. :) (:

Thank you for your attention to this matter.

On Fri, Jul 17, 2020 at 3:45 PM Junio C Hamano <gitster@xxxxxxxxx> wrote:
>
> Jeff King <peff@xxxxxxxx> writes:
>
> > But none of that is exposed via the command-line of "git log". I think
> > it would be possible to do so, but I'm not sure how tricky it would be
> > (certainly one complication is that "--not" already means something else
> > there, but presumably we could have "--grep-and", "--grep-not", etc).
>
> Perhaps the definition of "distant future" is about 8 years ;-)
>
> https://lore.kernel.org/git/7vr4q45y65.fsf@xxxxxxxxxxxxxxxxxxxxxxxx/
>



[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