From: Junio C Hamano Date: Thu, 07 Feb 2019 22:26:19 GMT Subject: Re: [PATCH v3 3/3] submodule: teach set-branch subcommand Message-ID: In-Reply-To: <91bb634dfad7f6a17bbed9eaf27f668326fca54e.1549534460.git.liu.denton@gmail.com> 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 default remote tracking branch for the submodule. The > + `--branch` option allows the remote branch to be specified. The > + `--default` option removes the submodule..branch configuration > + key, which causes the tracking branch to default to 'master'. > +-- > summary [--cached|--files] [(-n|--summary-limit) ] [commit] [--] [...]:: > Show commit summary between the given commit (defaults to HEAD) and > working tree/index. For a submodule in question, a series of commits The double-dash line you added must be replaced with an empty line. The existing double-dash is *not* a separator between the previous entry (i.e. update) and the next entry (i.e. summary). Rather, the body for 'update' is enclosed in a pair of double-dash lines as it has many paragraphs.