author | Nicolas Pitre <nico@cam.org> | |
Mon, 23 Oct 2006 18:50:18 +0000 (14:50 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 25 Oct 2006 21:39:07 +0000 (14:39 -0700) | ||
commit | e42797f5b6d5ed3b8c894d89493e285c40d58dc8 | |
tree | ad28f92394393d38ac25d2a4b09a411120e86c77 | tree | snapshot |
parent | eb153837d8509fc6ef59b17630429c63c0993b2d | commit | diff |
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>
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 | diff | blob | history | |
index-pack.c | diff | blob | history |