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