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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Levedahl <mdl123@xxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]