From ce9945396a4294227258f07f528fcf53984c7175 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 11 Dec 2016 16:06:04 +0300 Subject: [PATCH] Rename source -> upstream --- pull-usrlocalsrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pull-usrlocalsrc b/pull-usrlocalsrc index 0855206..92156d9 100755 --- a/pull-usrlocalsrc +++ b/pull-usrlocalsrc @@ -11,8 +11,8 @@ prog_dir="`dirname \"$0\"`" && cat "$prog_dir"/locate-all.list | grep -F /usr/local/src | while read d; do echo "----- $d -----"; cd "$d" && - if has_remote source && has_remote origin; then - git pull source master && git push origin master || exit 1 + 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 fi -- 2.39.5