<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-submodule.txt, branch v2.4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.9</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-05-28T22:18:11Z</updated>
<entry>
<title>submodule doc: reorder introductory paragraphs</title>
<updated>2015-05-28T22:18:11Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2015-05-27T19:48:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ec48a76306091abfa7831a97f36949ab82432ddc'/>
<id>urn:sha1:ec48a76306091abfa7831a97f36949ab82432ddc</id>
<content type='text'>
It's better to start the man page with a description of what
submodules actually are, instead of saying what they are not.

Reorder the paragraphs such that

 - the first short paragraph introduces the submodule concept,
 - the second paragraph highlights the usage of the submodule command,
 - the third paragraph giving background information, and finally
 - the fourth paragraph discusing alternatives such as subtrees and
   remotes, which we don't want to be confused with.

This ordering deepens the knowledge on submodules with each paragraph.
First the basic questions like "How/what" will be answered, while the
underlying concepts will be taught at a later time.

Making sure it is not confused with subtrees and remotes is not really
enhancing knowledge of submodules itself, but rather painting the big
picture of git concepts, so you could also argue to have it as the second
paragraph. Personally I think this may confuse readers, specially
newcomers though.

Additionally to reordering the paragraphs, they have been slightly
reworded.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: improve documentation of update subcommand</title>
<updated>2015-03-02T22:59:55Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2015-03-02T22:57:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c31acfbe22cebdf1a04723b58cdb358e377632a'/>
<id>urn:sha1:5c31acfbe22cebdf1a04723b58cdb358e377632a</id>
<content type='text'>
The documentation of 'git submodule update' has several problems:

1) It mentions that value 'none' of submodule.$name.update can be
   overridden by --checkout, but other combinations of configuration
   values and command line options are not mentioned.

2) The documentation of submodule.$name.update is scattered across three
   places, which is confusing.

3) The documentation of submodule.$name.update in gitmodules.txt is
   incorrect, because the code always uses the value from .git/config
   and never from .gitmodules.

4) Documentation of --force was incomplete, because it is only effective
   in case of checkout method of update.

Fix all these problems by documenting submodule.*.update in
git-submodule.txt and make everybody else refer to it.

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Michal Sojka &lt;sojkam1@fel.cvut.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mc/doc-submodule-sync-recurse' into maint</title>
<updated>2014-07-10T18:08:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-10T18:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3fea9ebdffaf37e5495e364bd868d8bda06350fd'/>
<id>urn:sha1:3fea9ebdffaf37e5495e364bd868d8bda06350fd</id>
<content type='text'>
* mc/doc-submodule-sync-recurse:
  submodule: document "sync --recursive"
</content>
</entry>
<entry>
<title>submodule: document "sync --recursive"</title>
<updated>2014-06-13T22:00:17Z</updated>
<author>
<name>Matthew Chen</name>
<email>charlesmchen@gmail.com</email>
</author>
<published>2014-06-13T17:40:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9393ae79c9b4d3deade544be9ce057b7fa290490'/>
<id>urn:sha1:9393ae79c9b4d3deade544be9ce057b7fa290490</id>
<content type='text'>
The "git submodule sync" command supports the --recursive flag, but
the documentation does not mention this.  That flag is useful, for
example when a remote is changed in a submodule of a submodule.

Signed-off-by: Matthew Chen &lt;charlesmchen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "submodule: explicit local branch creation in module_clone"</title>
<updated>2014-04-02T21:15:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-02T21:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d851ffb91f8c25f51b284cd4e849757d656de0d1'/>
<id>urn:sha1:d851ffb91f8c25f51b284cd4e849757d656de0d1</id>
<content type='text'>
This reverts commit 23d25e48f5ead73c9ce233986f90791abec9f1e8, as it is
broken for users who haven't opted into the new feature of checking
out submodule.*.branch with update mode set to checkout.
</content>
</entry>
<entry>
<title>Revert "Merge branch 'wt/doc-submodule-name-path-confusion-2'"</title>
<updated>2014-04-01T18:52:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-01T18:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=edac360bdd35eacfb11005583aa7736d72a063bd'/>
<id>urn:sha1:edac360bdd35eacfb11005583aa7736d72a063bd</id>
<content type='text'>
This reverts commit 00d4ff1a69883e24b095f45251d99143b5bc0320, reversing
changes made to d3badc6eb0961382788c2670129d5ee133d079fd.
</content>
</entry>
<entry>
<title>Merge branch 'wt/doc-submodule-name-path-confusion-2'</title>
<updated>2014-03-31T23:31:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-31T23:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=00d4ff1a69883e24b095f45251d99143b5bc0320'/>
<id>urn:sha1:00d4ff1a69883e24b095f45251d99143b5bc0320</id>
<content type='text'>
* wt/doc-submodule-name-path-confusion-2:
  doc: submodule.*.branch config is keyed by name
</content>
</entry>
<entry>
<title>Merge branch 'wt/doc-submodule-name-path-confusion-1'</title>
<updated>2014-03-31T23:31:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-31T23:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d3badc6eb0961382788c2670129d5ee133d079fd'/>
<id>urn:sha1:d3badc6eb0961382788c2670129d5ee133d079fd</id>
<content type='text'>
* wt/doc-submodule-name-path-confusion-1:
  doc: submodule.* config are keyed by submodule names
</content>
</entry>
<entry>
<title>doc: submodule.*.branch config is keyed by name</title>
<updated>2014-03-27T22:01:42Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2014-03-27T21:06:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7c15fe92acf267f7538d8f4bece33d6bc8409cd7'/>
<id>urn:sha1:7c15fe92acf267f7538d8f4bece33d6bc8409cd7</id>
<content type='text'>
Ever since 941987a5 (git-submodule: give submodules proper names,
2007-06-11) introduced the ability to move a submodule from one path
to another inside its superproject tree without losing its identity,
we should have consistently used submodule.&lt;name&gt;.* to access
settings related to the named submodule.

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: submodule.* config are keyed by submodule names</title>
<updated>2014-03-27T21:58:37Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2014-03-27T21:06:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=15d64936d4be1e11085e21de6615742298276ab6'/>
<id>urn:sha1:15d64936d4be1e11085e21de6615742298276ab6</id>
<content type='text'>
Ever since 941987a5 (git-submodule: give submodules proper names,
2007-06-11) introduced the ability to move a submodule from one path
to another inside its superproject tree without losing its identity,
we should have consistently used submodule.&lt;name&gt;.* to access
settings related to the named submodule.

Reported-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
