X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fversion_control.sh;fp=scripts%2Frev_control%2Fversion_control.sh;h=e1cb4192d4bcd8de812c39bf38e44bcb31fb8686;hb=23a54a83032f2102030c23ae98d34aea75bb4855;hp=d74fe1bd67c43c713249809e0bcbf0a991cb4b0a;hpb=8351390046230590080d32d03ff5eed64ad0ba04;p=feisty_meow.git diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index d74fe1bd..e1cb4192 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -383,6 +383,10 @@ function do_careful_git_update() local bran for bran in $branch_list; do # echo "synchronizing remote branch: $bran" + if [ "$this_branch" == "$bran" ]; then + echo "skipping redundant update on initial branch: $bran" + continue; + fi git checkout "$bran" | $TO_SPLITTER promote_pipe_return 0 test_or_die "git switching checkout to remote branch: $bran"