Re: File Systems and a Theory of Edits
Am 30.07.2011 21:06, schrieb Ævar Arnfjörð Bjarmason:
Show 12 quoted lines
> On Sat, Jul 30, 2011 at 16:29, Michael Nahas <mike.nahas@gmail.com> wrote:
>> "git xargs <commit> ..." (Is this possible?)
>
> I don't have comments on the rest of your proposal, but I've often
> wanted a git-find(1) similar to git-grep(1). Which would give you this
> functionality.
>
> Then you could simply:
>
> git find <commit> <path> -type f | xargs <whatever>
>
> Or something like that.
How about this, which should match your example:
git ls-tree -r --name-only <commit> <path> | xargs <whatever>
René