Re: git-diff: --ignore-matching-lines has no effect on the output when --name-only is used

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

 



Eric Sunshine <sunshine@xxxxxxxxxxxxxx> writes:
> 
> On Wed, Jul 23, 2025 at 9:56 PM Lidong Yan <yldhome2d2@xxxxxxxxx> wrote:
>> Junio C Hamano <gitster@xxxxxxxxx> write:
>>> Lidong Yan <yldhome2d2@xxxxxxxxx> writes:
>>>> The `—ignore-matching-lines` options is introduced in 296d4a94e72
>>>> (Michał Kępień 2020-10-20 08:48:09 +0200 5803) Since the Git documentation
>>> 
>>> WTH is that reference format?
>> 
>> Sorry. I should use `git log --format="%h (%s, %ad)" --date=short -n 1 296d4a`.
> 
> Simpler: git log --format=reference -n1 296d4a
> 

Got it, thanks very much.
Lidong




[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