tornavis/build_files
Sergey Sharybin d1254519ad Fix make update for upstream workflow and missing branch in submodule
Fix the issue when upstream workflow is used and the addons fork does
not yet have the release branch. In this case create a local branch
which is based on the upstream/<branch> but does not track anything.

Typically with such workflow the local branches will track origin, but
since the origin does not have the branch yet it is not possible to
track it.

Test plan:
- Use upstream workflow
- Have a fork of addons, which does not have blender-v3.6-release
- Run make update

The error message:
```
Updating scripts/addons ...
git fetch origin
git fetch upstream
git checkout -t origin/blender-v3.6-release
fatal: 'origin/blender-v3.6-release' is not a commit and a branch 'blender-v3.6-release' cannot be created from it
make: *** [update] Error 128
```

Pull Request: https://projects.blender.org/blender/blender/pulls/108197
2023-05-23 17:49:43 +02:00
..
build_environment install_linux_packages: update library versions for 3.6 release. 2023-05-19 22:47:53 +02:00
buildbot Cleanup: cmake formatting 2022-12-17 13:33:27 +11:00
cmake CMake/Windows: Blacklist MSVC 17.6.x 2023-05-17 16:40:51 -06:00
config Cycles: enable HIP-RT for AMD hardware ray-tracing 2023-05-15 13:46:06 +02:00
package_spec Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
utils Fix make update for upstream workflow and missing branch in submodule 2023-05-23 17:49:43 +02:00
windows make.bat: adjust for recent submodule changes 2023-03-16 17:51:12 -06:00