<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-submodule.txt, branch v2.25.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.25.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.25.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-02-14T20:42:32Z</updated>
<entry>
<title>Merge branch 'km/submodule-doc-use-sm-path' into maint</title>
<updated>2020-02-14T20:42:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-02-14T20:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cfa25e197d685f36f03fc17bd4e795f9f00ba086'/>
<id>urn:sha1:cfa25e197d685f36f03fc17bd4e795f9f00ba086</id>
<content type='text'>
Docfix.

* km/submodule-doc-use-sm-path:
  submodule foreach: replace $path with $sm_path in example
</content>
</entry>
<entry>
<title>submodule foreach: replace $path with $sm_path in example</title>
<updated>2020-01-31T20:57:18Z</updated>
<author>
<name>Kyle Meyer</name>
<email>kyle@kyleam.com</email>
</author>
<published>2020-01-31T17:08:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=04e5b3f0b43db43b3484f72058c080ac1a4a9b38'/>
<id>urn:sha1:04e5b3f0b43db43b3484f72058c080ac1a4a9b38</id>
<content type='text'>
f0fd0dc5c5 (submodule foreach: document '$sm_path' instead of '$path',
2018-05-08) updated the documentation to advise callers to favor
$sm_path over the deprecated synonym $path.  However, the example in
that section still uses $path.  Update it to use $sm_path.

Signed-off-by: Kyle Meyer &lt;kyle@kyleam.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tm/doc-submodule-absorb-fix'</title>
<updated>2020-01-08T20:44:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-01-08T20:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a4e4140ac909f0466af239fde2199a11d81bd751'/>
<id>urn:sha1:a4e4140ac909f0466af239fde2199a11d81bd751</id>
<content type='text'>
Typofix.

* tm/doc-submodule-absorb-fix:
  doc: submodule: fix typo for command absorbgitdirs
</content>
</entry>
<entry>
<title>doc: submodule: fix typo for command absorbgitdirs</title>
<updated>2020-01-06T17:24:46Z</updated>
<author>
<name>Thomas Menzel</name>
<email>dev@tomsit.de</email>
</author>
<published>2020-01-06T14:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5814d44d9b799764332b10413861537e9a88fb42'/>
<id>urn:sha1:5814d44d9b799764332b10413861537e9a88fb42</id>
<content type='text'>
The sentence wants to talk about the superproject's possesive, not plural form.

Signed-off-by: Thomas Menzel &lt;dev@tomsit.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dl/submodule-set-url'</title>
<updated>2019-12-10T21:11:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-12-10T21:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=99c4ff1bdabc2122a7c6a2b8df87acdd0c2dd18f'/>
<id>urn:sha1:99c4ff1bdabc2122a7c6a2b8df87acdd0c2dd18f</id>
<content type='text'>
"git submodule" learned a subcommand "set-url".

* dl/submodule-set-url:
  submodule: teach set-url subcommand
</content>
</entry>
<entry>
<title>Merge branch 'mg/doc-submodule-status-cached'</title>
<updated>2019-12-05T20:52:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-12-05T20:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=57d46bc602a6911946dc4ba7f4e79cd82cbc1e3e'/>
<id>urn:sha1:57d46bc602a6911946dc4ba7f4e79cd82cbc1e3e</id>
<content type='text'>
"git submodule status" and "git submodule status --cached" show
different things, but the documentation did not cover them
correctly, which has been corrected.

* mg/doc-submodule-status-cached:
  doc: document 'git submodule status --cached'
</content>
</entry>
<entry>
<title>Merge branch 'pb/submodule-update-fetches'</title>
<updated>2019-12-05T20:52:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-12-05T20:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef6104581d9bfbe74ef99b52a72e436486001ead'/>
<id>urn:sha1:ef6104581d9bfbe74ef99b52a72e436486001ead</id>
<content type='text'>
Doc update.

* pb/submodule-update-fetches:
  doc: mention that 'git submodule update' fetches missing commits
</content>
</entry>
<entry>
<title>doc: mention that 'git submodule update' fetches missing commits</title>
<updated>2019-11-24T06:03:18Z</updated>
<author>
<name>Philippe Blain</name>
<email>levraiphilippeblain@gmail.com</email>
</author>
<published>2019-11-24T02:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f0e58b3fe85970cfac20cd10545dd91a65094887'/>
<id>urn:sha1:f0e58b3fe85970cfac20cd10545dd91a65094887</id>
<content type='text'>
'git submodule update' will fetch new commits from the submodule remote
if the SHA-1 recorded in the superproject is not found. This was not
mentioned in the documentation.

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Philippe Blain &lt;levraiphilippeblain@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: document 'git submodule status --cached'</title>
<updated>2019-11-24T04:52:29Z</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2019-11-23T05:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d483c840836ef2508741cf1592c285a2cba4552'/>
<id>urn:sha1:8d483c840836ef2508741cf1592c285a2cba4552</id>
<content type='text'>
'git submodule status --cached' reports the SHAs recorded in the
index of the superproject, instead of the SHAs that are checked out
in the submodule.

Signed-off-by: Manish Goregaokar &lt;manishsmail@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: teach set-url subcommand</title>
<updated>2019-10-30T03:48:45Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2019-10-29T17:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=26b061007c1259ed4692554994961dd26874e63e'/>
<id>urn:sha1:26b061007c1259ed4692554994961dd26874e63e</id>
<content type='text'>
Currently, in the event that a submodule's upstream URL changes, users
have to manually alter the URL in the .gitmodules file then run
`git submodule sync`. Let's make that process easier.

Teach submodule the set-url subcommand which will automatically change
the `submodule.$name.url` property in the .gitmodules file and then run
`git submodule sync` to complete the process.

Signed-off-by: Denton Liu &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
