]> git.ipfire.org Git - thirdparty/git.git/commit - git-submodule.sh
submodule: teach set-branch subcommand
authorDenton Liu <liu.denton@gmail.com>
Fri, 8 Feb 2019 11:21:34 +0000 (03:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Apr 2019 03:07:16 +0000 (12:07 +0900)
commitb57e8119e6e08f731308923ef2b033eb45152bc6
tree002d5e1bd591e098359d2b3b3c226342045468d0
parentc89c494240a516b082f397130ae44df2e757866b
submodule: teach set-branch subcommand

This teaches git-submodule the set-branch subcommand which allows the
branch of a submodule to be set through a porcelain command without
having to manually manipulate the .gitmodules file.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt
contrib/completion/git-completion.bash
git-submodule.sh
t/t7419-submodule-set-branch.sh [new file with mode: 0755]