Re: git-diff: --ignore-matching-lines has no effect on the output when --name-only is used
On Wed, Jul 23, 2025 at 9:56 PM Lidong Yan <yldhome2d2@gmail.com> wrote:
Show 8 quoted lines
> Junio C Hamano <gitster@pobox.com> write:
> > Lidong Yan <yldhome2d2@gmail.com> 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