diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-03-08 01:27:44 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-07 18:02:10 -0800 |
commit | 9e64d109f905afb225f48409c4e0e068b2203332 (patch) | |
tree | 95bebd9844899a913f461da7177b04864b274195 /git-reset.sh | |
parent | git-bundle: avoid packing objects which are in the prerequisites (diff) | |
download | tgif-9e64d109f905afb225f48409c4e0e068b2203332.tar.xz |
git-bundle: Make thin packs
Thin packs are way smaller, but they rely on the receiving end to have the
base objects. However, Git's pack protocol also uses thin packs by
default. So make the packs contained in bundles thin, since bundles are
just another transport.
The patch looks a bit bigger than intended, mainly because --thin
_implies_ that pack-objects should run its own rev-list. Therefore, this
patch removes all the stuff we used to roll rev-list ourselves.
This commit also changes behaviour slightly: since we now know early
enough if a specified ref is _not_ contained in the pack, we can avoid
putting that ref into the pack. So, we don't die() here, but warn()
instead, and skip that ref.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-reset.sh')
0 files changed, 0 insertions, 0 deletions