Code

git-bundle: avoid packing objects which are in the prerequisites
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 7 Mar 2007 23:43:05 +0000 (00:43 +0100)
committerJunio C Hamano <junkio@cox.net>
Thu, 8 Mar 2007 01:38:48 +0000 (17:38 -0800)
commit18449ab0e9754ae04ae2f232449241ac361f3db4
tree9675c9712e5f40ff25338b2f19db2ab19d0a3ead
parent8315588b59bea45c4b82451cc3ac337fa5c68526
git-bundle: avoid packing objects which are in the prerequisites

When saying something like "--since=1.day.ago" or "--max-count=5",
git-bundle finds the boundary commits which are recorded as
prerequisites. However, it failed to tell pack-objects _not_ to
pack the objects which are in these.

Fix that. And add a test for that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-bundle.c
t/t5510-fetch.sh