[arch-dev-public] [PATCH 4/6] commitpkg: add '-y' to rsyncopts

Dan McGee dan at archlinux.org
Fri Apr 1 17:35:33 EDT 2011


This allows uploads to possibly be smaller if a similar file exists
nearby without the same name. Unlikely in most cases, but we might as
well take advantage if they do exist:

Signed-off-by: Dan McGee <dan at archlinux.org>
---
 commitpkg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commitpkg b/commitpkg
index 6a100de..413161c 100755
--- a/commitpkg
+++ b/commitpkg
@@ -97,7 +97,7 @@ for i in 'changelog' 'install'; do
 done
 
 # see if any limit options were passed, we'll send them to rsync
-rsyncopts="-e ssh -p --chmod 'ug=rw,o=r' -c -h -L --progress --partial"
+rsyncopts="-e ssh -p --chmod 'ug=rw,o=r' -c -h -L --progress --partial -y"
 if [ "$1" = '-l' ]; then
 	rsyncopts="$rsyncopts --bwlimit=$2"
 	shift 2
-- 
1.7.4.2



More information about the arch-dev-public mailing list