Re: is there a 'git find'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



E R <pc88mxer@xxxxxxxxx> 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"

?


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]