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

Re: is there a 'git find'?

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 5, 2009, 04:38 UTC
Message-ID
<7veirqub81.fsf@alter.siamese.dyndns.org>
In-Reply-To
<3a69fa7c0908042114v7097e87esbe18f49eef9267f5@mail.gmail.com>
E R <pc88mxer@gmail.com> writes:
> Within a specific commit I'd like to find all the files whose path
> names match a regular expression.
    git ls-tree -r [--name-only | -t] "$commit" | grep -e "$pattern"
?
Previous: Sverre Rabbelier
Message 3 of 3 in “is there a 'git find'?”
  1. E RAug 5, 2009
  2. Sverre RabbelierAug 5, 2009
  3. Junio C HamanoAug 5, 2009

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.