From: Lidong Yan Date: Thu, 24 Jul 2025 03:38:54 GMT Subject: Re: git-diff: --ignore-matching-lines has no effect on the output when --name-only is used Message-ID: <8EE6292C-E03B-4E1B-B8D9-2352531034DF@gmail.com> In-Reply-To: Eric Sunshine writes: > > On Wed, Jul 23, 2025 at 9:56 PM Lidong Yan wrote: >> Junio C Hamano write: >>> Lidong Yan 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