Use Git submodule tracking feature
This way we can point submodules to different branches. There are two side-effects to this: - Git 1.8.2 becomes the minimal required version now to support this feature. - Not sure how doing local changes in submodules followed by `make update` will behave. We don't use explicit rebase now. Perhaps this is not so bad, since it was already quite dangerous thing to do.
This commit is contained in:
parent
22119f976e
commit
86d8dc12c1
|
@ -1,16 +1,20 @@
|
|||
[submodule "release/scripts/addons"]
|
||||
path = release/scripts/addons
|
||||
url = ../blender-addons.git
|
||||
branch = blender2.8
|
||||
ignore = all
|
||||
[submodule "release/scripts/addons_contrib"]
|
||||
path = release/scripts/addons_contrib
|
||||
url = ../blender-addons-contrib.git
|
||||
branch = master
|
||||
ignore = all
|
||||
[submodule "release/datafiles/locale"]
|
||||
path = release/datafiles/locale
|
||||
url = ../blender-translations.git
|
||||
branch = master
|
||||
ignore = all
|
||||
[submodule "source/tools"]
|
||||
path = source/tools
|
||||
url = ../blender-dev-tools.git
|
||||
branch = master
|
||||
ignore = all
|
||||
|
|
|
@ -402,7 +402,7 @@ update: .FORCE
|
|||
svn update ../lib/* ; \
|
||||
fi
|
||||
git pull --rebase
|
||||
git submodule foreach git pull --rebase origin master
|
||||
git submodule update --remote
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue