From d5a90e596c4f7637fdcf8c18de9a69509952d4aa Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 9 Nov 2017 19:59:49 -0500 Subject: [PATCH] so not quite grokked there really is a chain going all the way back to master. bummer. however, i think you can get all of the pending updates from upstream with a pull --all. trying that now. --- scripts/rev_control/version_control.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index ccb14c25..b5ad5170 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -264,16 +264,18 @@ function do_update() if test_writeable ".git"; then $blatt retval=0 - local myself="$(my_branch_name)" - local parent="$(parent_branch_name)" - - if [ "$myself" != "$parent" ]; then - git pull origin "$parent" 2>&1 | grep -v "X11 forwarding request failed" | squash_first_few_crs +# local myself="$(my_branch_name)" +# local parent="$(parent_branch_name)" +# +# if [ "$myself" != "$parent" ]; then +# git pull origin "$parent" 2>&1 | grep -v "X11 forwarding request failed" | squash_first_few_crs +# retval+=${PIPESTATUS[0]} +# else + + git pull --all 2>&1 | grep -v "X11 forwarding request failed" | squash_first_few_crs retval+=${PIPESTATUS[0]} - else - git pull 2>&1 | grep -v "X11 forwarding request failed" | squash_first_few_crs - retval+=${PIPESTATUS[0]} - fi + +# fi fi else # this is not an error necessarily; we'll just pretend they planned this. -- 2.34.1