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"
?