From 0226a19a7159e00ca7983e530db3e19574904e24 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Jan 2017 02:13:15 +0300 Subject: Fix updating git branches. --- scripts/include/common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/include/common.sh b/scripts/include/common.sh index d446c1e..eac8ab2 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -277,6 +277,11 @@ function package_update_source { if [ -d .git ]; then echo "git fetch origin" git fetch origin + check_error $? + run_switch_branch + echo "git pull --rebase" + git pull --rebase + check_error $? return fi if [ -d .hg ]; then -- cgit v1.2.3-70-g09d2