git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Very limited pathspec wildcards..

From
Linus Torvalds <torvalds@osdl.org>
Date
Aug 3, 2005, 19:38 UTC
Message-ID
<Pine.LNX.4.58.0508031234280.3258@g5.osdl.org>
In-Reply-To
<7voe8ec08j.fsf@assigned-by-dhcp.cox.net>
On Wed, 3 Aug 2005, Junio C Hamano wrote:
> 
> Wouldn't something like this work equally well?
Nope, for several reasons:
 - it's _horribly_ inefficient (ie it traverses directories that it 
   doesn't need to)
 - it shows all the changeset comments, regardless of whether they are 
   releant or not. It just removes the diffs.
Try it out.

Junio, name-based filters _have_ to be done early. This is why "diffcore-pathspec" isn't used any more - it's _much_ too inefficient to do it later.

		Linus
Previous: Junio C Hamano
Message 3 of 3 in “Very limited pathspec wildcards..”
  1. Linus TorvaldsAug 3, 2005
  2. Junio C HamanoAug 3, 2005
  3. Linus TorvaldsAug 3, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.