Re: File Systems and a Theory of Edits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 1, 2011, 01:04 UTC
- Message-ID
- <7vy5zej611.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4E350F15.9050009@lsrfire.ath.cx>
René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
Show 17 quoted lines
> Am 30.07.2011 21:06, schrieb Ævar Arnfjörð Bjarmason: >> 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>
I don't get what this thread wants to achieve quite yet.
The devil is in <whatever> part. What would it do, given only the sequence of pathnames and object names but not data? Invoke low-level git commands on them?