<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-submodule.txt, branch v2.24.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.24.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.24.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-10-07T02:32:56Z</updated>
<entry>
<title>Merge branch 'dl/submodule-set-branch'</title>
<updated>2019-10-07T02:32:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-10-07T02:32:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7f17913161ef06fb983f02fae02fc580863cd605'/>
<id>urn:sha1:7f17913161ef06fb983f02fae02fc580863cd605</id>
<content type='text'>
Docfix.

* dl/submodule-set-branch:
  git-submodule.txt: fix AsciiDoc formatting error
</content>
</entry>
<entry>
<title>git-submodule.txt: fix AsciiDoc formatting error</title>
<updated>2019-09-16T19:27:00Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2019-09-16T18:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=40e747e89d247b3a12e6cddf848d145bf403a72c'/>
<id>urn:sha1:40e747e89d247b3a12e6cddf848d145bf403a72c</id>
<content type='text'>
In b57e8119e6 (submodule: teach set-branch subcommand, 2019-02-08), the
`set-branch` subcommand was added for submodules. When the documentation
was written, the syntax for a "index term" in AsciiDoc was
accidentally used. This caused the documentation to be rendered as

	set-branch -d|--default)|(-b|--branch &lt;branch&gt; [--] &lt;path&gt;

instead of

	set-branch ((-d|--default)|(-b|--branch &lt;branch&gt;)) [--] &lt;path&gt;

In addition to this, the original documentation was possibly confusing
as it made it seem as if the `-b` option didn't accept a `&lt;branch&gt;`
argument.

Break `--default` and `--branch` into their own separate invocations to
make it obvious that these options are mutually exclusive. Also, this
removes the surrounding parentheses so that the "index term" syntax is
not triggered.

Signed-off-by: Denton Liu &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dl/submodule-set-branch'</title>
<updated>2019-04-25T07:41:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-25T07:41:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01f8d78887d45dc10f29d3926d5cc52f78838846'/>
<id>urn:sha1:01f8d78887d45dc10f29d3926d5cc52f78838846</id>
<content type='text'>
"git submodule" learns "set-branch" subcommand that allows the
submodule.*.branch settings to be modified.

* dl/submodule-set-branch:
  submodule: teach set-branch subcommand
  submodule--helper: teach config subcommand --unset
  git-submodule.txt: "--branch &lt;branch&gt;" option defaults to 'master'
</content>
</entry>
<entry>
<title>Merge branch 'cb/doco-mono'</title>
<updated>2019-04-22T02:14:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-22T02:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b42805445c3b5714c100ac066697943f2571fd3'/>
<id>urn:sha1:6b42805445c3b5714c100ac066697943f2571fd3</id>
<content type='text'>
Clean-up markup in the documentation suite.

* cb/doco-mono:
  doc: format pathnames and URLs as monospace.
  doc/CodingGuidelines: URLs and paths as monospace
</content>
</entry>
<entry>
<title>submodule: teach set-branch subcommand</title>
<updated>2019-04-10T03:07:16Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2019-02-08T11:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b57e8119e6e08f731308923ef2b033eb45152bc6'/>
<id>urn:sha1:b57e8119e6e08f731308923ef2b033eb45152bc6</id>
<content type='text'>
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 &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: format pathnames and URLs as monospace.</title>
<updated>2019-03-13T02:14:22Z</updated>
<author>
<name>Corentin BOMPARD</name>
<email>corentin.bompard@etu.univ-lyon1.fr</email>
</author>
<published>2019-03-06T13:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=68ed71b53cf7c58343306566fa6d527cb5fced41'/>
<id>urn:sha1:68ed71b53cf7c58343306566fa6d527cb5fced41</id>
<content type='text'>
Applying CodingGuidelines about monospace on pathnames and URLs.

See Documentation/CodingGuidelines.txt for more information.

Signed-off-by: Corentin BOMPARD &lt;corentin.bompard@etu.univ-lyon1.fr&gt;
Signed-off-by: Nathan BERBEZIER &lt;nathan.berbezier@etu.univ-lyon1.fr&gt;
Signed-off-by: Pablo CHABANNE &lt;pablo.chabanne@etu.univ-lyon1.fr&gt;
Signed-off-by: Matthieu MOY &lt;matthieu.moy@univ-lyon1.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: document default behavior</title>
<updated>2019-02-15T17:55:27Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2019-02-15T09:26:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=68cabbfda36b2e515802e13753637a987c4cf9a9'/>
<id>urn:sha1:68cabbfda36b2e515802e13753637a987c4cf9a9</id>
<content type='text'>
submodule's default behavior wasn't documented in both git-submodule.txt
and in the usage text of git-submodule. Document the default behavior
similar to how git-remote does it.

Signed-off-by: Denton Liu &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-submodule.txt: "--branch &lt;branch&gt;" option defaults to 'master'</title>
<updated>2019-02-07T17:45:50Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2019-02-07T10:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7a4bb55f3a47756b5cd9ca2d120c7fe119439e81'/>
<id>urn:sha1:7a4bb55f3a47756b5cd9ca2d120c7fe119439e81</id>
<content type='text'>
This behavior is mentioned in gitmodules.txt but not in
git-submodule.txt so we copy the information over so that it is not
missed.

Also, add the missed argument to the -b/--branch option.

Signed-off-by: Denton Liu &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pc/submodule-helper-foreach'</title>
<updated>2018-06-25T20:22:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-06-25T20:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ea27893a65cc41cad2710466aa6a58866ff22f1e'/>
<id>urn:sha1:ea27893a65cc41cad2710466aa6a58866ff22f1e</id>
<content type='text'>
The bulk of "git submodule foreach" has been rewritten in C.

* pc/submodule-helper-foreach:
  submodule: port submodule subcommand 'foreach' from shell to C
  submodule foreach: document variable '$displaypath'
  submodule foreach: document '$sm_path' instead of '$path'
  submodule foreach: correct '$path' in nested submodules from a subdirectory
</content>
</entry>
<entry>
<title>Merge branch 'rd/doc-remote-tracking-with-hyphen'</title>
<updated>2018-06-18T17:18:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-06-18T17:18:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=929c0975482e78c4bd680b010a8ceac6c31160a0'/>
<id>urn:sha1:929c0975482e78c4bd680b010a8ceac6c31160a0</id>
<content type='text'>
Doc update.

* rd/doc-remote-tracking-with-hyphen:
  Use hyphenated "remote-tracking branch" (docs and comments)
</content>
</entry>
</feed>
