public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Andreas Schwab <schwab@linux-m68k.org>, git@vger.kernel.org
Subject: Re: How to restrict command “git grep” to the first search result per file?
Date: Tue, 8 Jul 2025 07:30:28 +0200	[thread overview]
Message-ID: <a4b7226e-8069-485e-85c1-432047b847e3@web.de> (raw)
In-Reply-To: <87wm8lo89w.fsf@igel.home>

> Does "git grep -l" suit your needs?

Is it possible to determine such information also by a corresponding function
(instead of the mentioned program call interface)?

Would you occasionally like to transfer file details for search results
by other application programming interfaces?

Regards,
Markus

  parent reply	other threads:[~2025-07-08  5:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-06 11:28 How to restrict command “git grep” to the first search result per file? Markus Elfring
2025-07-06 11:42 ` Andreas Schwab
2025-07-06 12:20   ` Markus Elfring
2025-07-08  5:30   ` Markus Elfring [this message]
2025-07-06 13:27 ` Phillip Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a4b7226e-8069-485e-85c1-432047b847e3@web.de \
    --to=markus.elfring@web.de \
    --cc=git@vger.kernel.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox