Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 21183220b80..f692daed600 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -458,8 +458,9 @@ update: .FORCE
fi
git pull --rebase
git submodule update --init --recursive
- git submodule foreach git checkout master
- git submodule foreach git pull --rebase origin master
+ # Use blender2.8 branch for submodules that have it.
+ git submodule foreach "git checkout blender2.8 || git checkout master"
+ git submodule foreach git pull --rebase origin
# -----------------------------------------------------------------------------