Use special name "." for the branches in .gitmodules

It is used to indicate that the submodule branch should be the same as
the branch of the parent repository - devel for devel, master for master.

It's a new feature of git, appearing in version 2.10, but most users
should not really care. It only affects the behavior of "git submodule
update --remote" when updating the submodules.
This commit is contained in:
Pavel Roskin 2017-02-26 22:01:31 -08:00 committed by jsorg71
parent 096baec331
commit 865676a026

3
.gitmodules vendored
View File

@ -1,10 +1,11 @@
[submodule "librfxcodec"]
path = librfxcodec
url = https://github.com/neutrinolabs/librfxcodec.git
branch = .
ignore = untracked
[submodule "libpainter"]
path = libpainter
url = https://github.com/neutrinolabs/libpainter.git
branch = devel
branch = .
ignore = untracked