From 3c32f9b82b6d308eea36f94e3dfc328303edd54b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 12 Jun 2012 15:08:36 -0400 Subject: [PATCH] simplify sync behavior --- .bin/r | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.bin/r b/.bin/r index 469b968..d0a4f0f 100755 --- a/.bin/r +++ b/.bin/r @@ -8,6 +8,10 @@ l) cmd=list shift ;; +s) + cmd=sync + shift + ;; *) cmd=$1 shift @@ -110,8 +114,8 @@ g-push) fi exec g push cros-internal HEAD:refs/for/master ;; -s) - exec r sync -j16 +sync) + [[ $# -eq 0 ]] && set -- -j16 ;; upload) args=() -- 2.39.5