From: Markus Elfring Date: Sun, 06 Jul 2025 12:20:06 GMT Subject: Re: How to restrict command “git grep” to the first search result per file? Message-ID: In-Reply-To: <87wm8lo89w.fsf@igel.home> >> Would you become interested to find specified items only once in each file >> (instead of multiple times)? > > Does "git grep -l" suit your needs? I imagine that it can occasionally matter see a bit more context for a search result besides a file name. Regards, Markus