author | Nicolas Pitre <nico@cam.org> | |
Wed, 1 Nov 2006 22:06:23 +0000 (17:06 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Nov 2006 08:24:07 +0000 (00:24 -0800) | ||
commit | da093d37506f034bfb14e6de26cce9c14b1a1216 | |
tree | fe01e9d8a345c25b23521af3e6d0a34732a70f03 | tree | snapshot |
parent | 920ccbfc3bedd384f3073c342c64fbd028a4ee3a | commit | diff |
improve fetch-pack's handling of kept packs
Since functions in fetch-clone.c were only used from fetch-pack.c,
its content has been merged with fetch-pack.c. This allows for better
coupling of features with much simpler implementations.
One new thing is that the (abscence of) --thin also enforce it on
index-pack now, such that index-pack will abort if a thin pack was
_not_ asked for.
The -k or --keep, when provided twice, now causes the fetched pack
to be left as a kept pack just like receive-pack currently does.
Eventually this will be used to close a race against concurrent
repacking.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Since functions in fetch-clone.c were only used from fetch-pack.c,
its content has been merged with fetch-pack.c. This allows for better
coupling of features with much simpler implementations.
One new thing is that the (abscence of) --thin also enforce it on
index-pack now, such that index-pack will abort if a thin pack was
_not_ asked for.
The -k or --keep, when provided twice, now causes the fetched pack
to be left as a kept pack just like receive-pack currently does.
Eventually this will be used to close a race against concurrent
repacking.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-fetch-pack.txt | diff | blob | history | |
Makefile | diff | blob | history | |
cache.h | diff | blob | history | |
fetch-clone.c | [deleted file] | blob | history |
fetch-pack.c | diff | blob | history |