]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/index-pack.c
enable index-pack streaming capability
authorNicolas Pitre <nico@cam.org>
Mon, 23 Oct 2006 18:50:18 +0000 (14:50 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 25 Oct 2006 21:39:07 +0000 (14:39 -0700)
commite42797f5b6d5ed3b8c894d89493e285c40d58dc8
treead28f92394393d38ac25d2a4b09a411120e86c77
parenteb153837d8509fc6ef59b17630429c63c0993b2d
enable index-pack streaming capability

A new flag, --stdin, allows for a pack to be received over a stream.
When this flag is provided, the pack content is written to either
the named pack file or directly to the object repository under the
same name as produced by git-repack.  The pack index is written as
well with the corresponding base name, unless the index name is
overriden with -o.

With this patch, git-index-pack could be used instead of
git-unpack-objects when fetching remote objects but only with
non "thin" packs for now.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-index-pack.txt
index-pack.c