From: Oleg Broytman Date: Fri, 16 Dec 2016 18:36:04 +0000 (+0300) Subject: Use xargs -I% X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=6de951a8a4857b6882ac4ea26114105bf5fa2f8e;p=git-scripts.git Use xargs -I% --- diff --git a/pull-usrlocalsrc b/pull-usrlocalsrc index 92156d9..2fb2f2f 100755 --- a/pull-usrlocalsrc +++ b/pull-usrlocalsrc @@ -14,6 +14,6 @@ while read d; do if has_remote upstream && has_remote origin; then git pull upstream master && git push origin master || exit 1 else - git remote | xargs -I'{}' git pull '{}' master || exit 1 + git remote | xargs -I% git pull % master || exit 1 fi done