From: Rob Browning Date: Wed, 12 Feb 2014 18:10:27 +0000 (-0600) Subject: split-cmd.py: respect --compress for remote repos too. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=59f76af5d69c6c83e19375b9ea85c21b587f0916;p=packages%2Fb%2Fbup.git split-cmd.py: respect --compress for remote repos too. Signed-off-by: Rob Browning --- diff --git a/cmd/save-cmd.py b/cmd/save-cmd.py index bb683f5..c3eb228 100755 --- a/cmd/save-cmd.py +++ b/cmd/save-cmd.py @@ -76,7 +76,7 @@ refname = opt.name and 'refs/heads/%s' % opt.name or None if opt.remote or is_reverse: cli = client.Client(opt.remote) oldref = refname and cli.read_ref(refname) or None - w = cli.new_packwriter() + w = cli.new_packwriter(compression_level=opt.compress) else: cli = None oldref = refname and git.read_ref(refname) or None