Subject: Re: [PATCH] git-bundle - bundle objects and references for disconnected transfer.

From: "Shawn O. Pearce" <[email-masked]>
Date: Wed, 14 Feb 2007 14:42:37 -0500

Mark Levedahl <[email-masked]> wrote:
> +# add the pack file
> +(git-rev-list --objects $gitrevargs | \
> +	cut -b -40 | \
> +	git pack-objects --all-progress --progress --stdout >.gitBundlePack) \
> +	|| (rm -f "$bfile" ; exit)

pack-objects can run a rev-list internally; which means this
can be written as:

 echo $gitrevargs | \
 git pack-objects --all-progress --progress --stdout --revs >.gitBundlePack \
 || (rm -f "$bfile" ; exit)

-- 
Shawn.