Patch to make it possible to pin submodules so that they are not affected by the --remote option in "git submodule". Anders Ro (2): git-submodule.sh: pin submodule when branch name is '@' t7412: add test case for pinned submodules Documentation/git-submodule.txt | 3 +- git-submodule.sh | 9 ++++- t/t7412-submodule-pinning.sh | 73 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 2 deletions(-) create mode 100755 t/t7412-submodule-pinning.sh