Files
git/Documentation
David Barr 85c62395b1 fast-import: let importers retrieve blobs
New objects written by fast-import are not available immediately.
Until a checkpoint has been started and finishes writing the pack
index, any new blobs will not be accessible using standard git tools.

So introduce a new way to access them: a "cat-blob" command in the
command stream requests for fast-import to print a blob to stdout or a
file descriptor specified by the argument to --cat-blob-fd.  The value
for cat-blob-fd cannot be specified in the stream because that would
be a layering violation: the decision of where to direct a stream has
to be made when fast-import is started anyway, so we might as well
make the stream format is independent of that detail.

Output uses the same format as "git cat-file --batch".

Thanks to Sverre Rabbelier and Sam Vilain for guidance in designing
the protocol.

Based-on-patch-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: David Barr <david.barr@cordelta.com>
Acked-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-12-01 13:27:37 -08:00
..
2009-10-01 08:21:35 -04:00
2010-11-24 15:55:19 -08:00
2010-11-17 13:57:58 -08:00
2009-04-06 00:27:09 -07:00
2010-07-20 16:52:53 -07:00
2010-07-20 16:59:17 -07:00
2010-10-13 20:20:09 -07:00
2008-08-01 23:21:44 -07:00
2010-09-03 09:43:42 -07:00
2010-10-21 17:16:10 -07:00
2010-11-09 09:42:57 -08:00
2010-02-14 18:23:16 -08:00
2010-10-21 17:14:32 -07:00
2010-07-05 13:39:02 -07:00
2010-07-20 16:59:17 -07:00