I imported a github repo to bitbucket. It has multiple submodules. In the bitbucket web UI source browser, a submodule name is a link to the submodule's origin repo (usually another github repo) at the exact commit that the superproject uses for that submodule. Pretty helpful!
I changed some of the submodules so that they are bitbucket repos. Now, when browsing the source of the superproject, the name of a submodule is not a link.
How can I get the previous behavior back?
Everything seems good otherwise. When someone pulls the superproject they get the submodules from the right remote, at the correct commit hash.
The form of the .gitmodules entries is consistent between the entries that have links (the first one ... "uavcan_board_ident" is a link) and the entries that don't (second one .. "apps" is not a link ):
[submodule "cmake/configs/uavcan_board_ident"]
path = cmake/configs/uavcan_board_ident
url = https://github.com/PX4/uavcan_board_ident.git
branch = master
[submodule "platforms/nuttx/NuttX/apps"]
path = platforms/nuttx/NuttX/apps
url = https://bitbucket.com/myproject/nuttx-apps.git
branch = project-master