Code

git-bundle: avoid fork() in verify_bundle()
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 22 Feb 2007 20:25:41 +0000 (21:25 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Feb 2007 06:30:33 +0000 (22:30 -0800)
commitfb9a54150d308345a7027baae528b8fe90bd41f7
treec1e06d4ccf54f33482ebe357f79008f3b3a9ac00
parentfa257b0554d5cea91c2bba98c2017336e0890b36
git-bundle: avoid fork() in verify_bundle()

We can use the revision walker easily for checking if the
prerequisites are met, instead of fork()ing off a rev-list,
which would list only the first unmet prerequisite.

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