Re: [PATCH v3 3/3] submodule: teach set-branch subcommand

2019-02-07 Thread Junio C Hamano
Denton Liu writes: > @@ -168,6 +169,12 @@ submodule with the `--init` option. > If `--recursive` is specified, this command will recurse into the > registered submodules, and update any nested submodules within. > -- > +set-branch ((-d|--default)|(-b|--branch )) [--] :: > + Sets the defaul

[PATCH v3 3/3] submodule: teach set-branch subcommand

2019-02-07 Thread Denton Liu
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. --- Documentation/git-submodule.txt| 7 ++ contrib/completion/git-completion.bash | 5 +- git-subm