From: Sergio Callegari <sergio.callegari@gmail.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: Multiblobs
Date: Mon, 10 May 2010 15:58:10 +0200 [thread overview]
Message-ID: <4BE810F2.3080107@gmail.com> (raw)
In-Reply-To: <20100510063618.GD13340@coredump.intra.peff.net>
On 10/05/2010 08:36, Jeff King wrote:
> Sure. And for those cases, I think clean/smudge filters are perhaps
> already doing the job.
>
>
As a matter of fact, my idea was exactly to think of a multiblob as a
git tree (maybe plus a signature).
With this, one can set up a "multiclean" filter, triggered by a filename
pattern as for a normal filter or by the invocation of "file" to look at
inner magic.
When this filter is invoked it should take the file to be cleaned as the
stdin and output a tree at the output, while (as a side effect)
populating the git storage by the normal blobs pointed to by the tree.
In a complementary fashion, the multismudge filter should receive the
"multiblob" tree on stdin, and output on stdout the smudged file,
inspecting the blobs pointed to by the tree to do the work.
This would require having trees as tree entries, and (I guess) also some
update to the git package machinery, but apart from that should fit well
with the current clean/smudge approach, nor significantly alter the git
model.
Sergio
prev parent reply other threads:[~2010-05-10 13:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-28 15:12 Multiblobs Sergio Callegari
2010-04-28 18:07 ` Multiblobs Avery Pennarun
2010-04-28 19:13 ` Multiblobs Sergio Callegari
2010-04-28 21:27 ` Multiblobs Avery Pennarun
2010-04-28 23:10 ` Multiblobs Michael Witten
2010-04-28 23:26 ` Multiblobs Sergio
2010-04-29 0:44 ` Multiblobs Avery Pennarun
2010-04-29 11:34 ` Multiblobs Peter Krefting
2010-04-29 15:28 ` Multiblobs Avery Pennarun
2010-04-30 8:20 ` Multiblobs Peter Krefting
2010-04-30 17:26 ` Multiblobs Avery Pennarun
2010-04-30 9:14 ` Multiblobs Hervé Cauwelier
2010-04-30 17:32 ` Multiblobs Avery Pennarun
2010-04-30 18:16 ` Multiblobs Michael Witten
2010-04-30 19:06 ` Multiblobs Hervé Cauwelier
2010-04-28 18:34 ` Multiblobs Geert Bosch
2010-04-29 6:55 ` Multiblobs Mike Hommey
2010-05-06 6:26 ` Multiblobs Jeff King
2010-05-06 22:56 ` Multiblobs Sergio Callegari
2010-05-10 6:36 ` Multiblobs Jeff King
2010-05-10 13:58 ` Sergio Callegari [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BE810F2.3080107@gmail.com \
--to=sergio.callegari@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).