<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitmodules.txt, branch v2.12.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.12.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.12.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-10-26T20:14:49Z</updated>
<entry>
<title>Merge branch 'bw/submodule-branch-dot-doc'</title>
<updated>2016-10-26T20:14:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-26T20:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7425fe100fc90b492549f51aa60ac1e70e7f4c9a'/>
<id>urn:sha1:7425fe100fc90b492549f51aa60ac1e70e7f4c9a</id>
<content type='text'>
Recent git allows submodule.&lt;name&gt;.branch to use a special token
"." instead of the branch name; the documentation has been updated
to describe it.

* bw/submodule-branch-dot-doc:
  submodules doc: update documentation for "." used for submodule branches
</content>
</entry>
<entry>
<title>submodules doc: update documentation for "." used for submodule branches</title>
<updated>2016-10-19T21:58:53Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2016-10-19T20:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=15ef78008aa6cdd42dbef3b1bd00ae64e4ab731a'/>
<id>urn:sha1:15ef78008aa6cdd42dbef3b1bd00ae64e4ab731a</id>
<content type='text'>
4d7bc52b17 ("submodule update: allow '.' for branch value",
2016-08-03) adopted from Gerrit a feature to set "." as a special
value of "submodule.&lt;name&gt;.branch" in .gitmodules file to indicate
that the tracking branch in the submodule should be the same as the
current branch in the superproject.

Update the documentation to describe this.

Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2016-08-11T21:35:42Z</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2016-08-09T08:53:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2e3a16b279a9df2e498187871c67e623e12bc8a4'/>
<id>urn:sha1:2e3a16b279a9df2e498187871c67e623e12bc8a4</id>
<content type='text'>
    &lt;BAD&gt;                     &lt;CORRECTED&gt;
    accidently                accidentally
    commited                  committed
    dependancy                dependency
    emtpy                     empty
    existance                 existence
    explicitely               explicitly
    git-upload-achive         git-upload-archive
    hierachy                  hierarchy
    indegee                   indegree
    intial                    initial
    mulitple                  multiple
    non-existant              non-existent
    precendence.              precedence.
    priviledged               privileged
    programatically           programmatically
    psuedo-binary             pseudo-binary
    soemwhere                 somewhere
    successfull               successful
    transfering               transferring
    uncommited                uncommitted
    unkown                    unknown
    usefull                   useful
    writting                  writing

Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sb/submodule-recommend-shallowness'</title>
<updated>2016-08-08T21:48:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-08-08T21:48:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dc7e09a3e0b1a06348a0b59da71ceefe08489e77'/>
<id>urn:sha1:dc7e09a3e0b1a06348a0b59da71ceefe08489e77</id>
<content type='text'>
Doc update.

* sb/submodule-recommend-shallowness:
  gitmodules: document shallow recommendation
</content>
</entry>
<entry>
<title>gitmodules: document shallow recommendation</title>
<updated>2016-08-03T15:53:52Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-08-02T23:51:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f6fb30a01d2373f36cbf2054be9ae1bf65475794'/>
<id>urn:sha1:f6fb30a01d2373f36cbf2054be9ae1bf65475794</id>
<content type='text'>
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>doc: typeset long command-line options as literal</title>
<updated>2016-06-28T15:36:45Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2016-06-28T11:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bcf9626a71a0d90be65acc265ad0ec488d95d6ed'/>
<id>urn:sha1:bcf9626a71a0d90be65acc265ad0ec488d95d6ed</id>
<content type='text'>
Similarly to the previous commit, use backquotes instead of
forward-quotes, for long options.

This was obtained with:

  perl -pi -e "s/'(--[a-z][a-z=&lt;&gt;-]*)'/\`\$1\`/g" *.txt

and manual tweak to remove false positive in ascii-art (o'--o'--o' to
describe rewritten history).

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&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>status/commit: show staged submodules regardless of ignore config</title>
<updated>2014-04-07T17:32:20Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2014-04-05T16:59:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1d2f393ac9bfb4c20f14d6ead7bb4c56e766ab77'/>
<id>urn:sha1:1d2f393ac9bfb4c20f14d6ead7bb4c56e766ab77</id>
<content type='text'>
Currently setting submodule.&lt;name&gt;.ignore and/or diff.ignoreSubmodules to
"all" suppresses all output of submodule changes for the diff family,
status and commit. For status and commit this is really confusing, as it
even when the user chooses to record a new commit for an ignored submodule
by adding it manually this change won't show up under the to-be-committed
changes. To add insult to injury, a later "git commit" will error out with
"nothing to commit" when only ignored submodules are staged.

Fix that by making wt_status always print staged submodule changes, no
matter what ignore settings are configured. The only exception is when the
user explicitly uses the "--ignore-submodules=all" command line option, in
that case the submodule output is still suppressed. This also makes "git
commit" work again when only modifications of ignored submodules are
staged, as that command uses the "commitable" member of the wt_status
struct to determine if staged changes are present. But this only happens
when the commit command uses the wt_status* functions to produce status
output for human consumption (when forking an editor or with --dry-run),
in all other cases (e.g. when run in a script with '-m') another code path
is taken which uses index_differs_from() to determine if any changes are
staged which still ignores submodules according to their configuration.
This will be fixed in a follow-up commit.

Change t7508 to reflect this new behavior and add three new tests to show
that a single staged submodule configured to be ignored will be committed
when the status output is generated and won't be if not. Also update the
documentation of the ignore config options accordingly.

Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/gitmodules: Only 'update' and 'url' are required</title>
<updated>2014-01-06T17:08:18Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2014-01-03T18:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43fda9455c2f9300327e5cf1c532c083354e66b5'/>
<id>urn:sha1:43fda9455c2f9300327e5cf1c532c083354e66b5</id>
<content type='text'>
Descriptions for all the settings fell under the initial "Each
submodule section also contains the following required keys:".  The
example shows sections with just 'path' and 'url' entries, which are
indeed required, but we should still make the required/optional
distinction explicit to clarify that the rest of them are optional.

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Reviewed-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Improve documentation concerning the status.submodulesummary setting</title>
<updated>2013-09-11T19:20:41Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2013-09-11T19:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb58b696c6ad810560d361b640580715a90382cb'/>
<id>urn:sha1:bb58b696c6ad810560d361b640580715a90382cb</id>
<content type='text'>
'git status' and 'git commit' can be told to also show the output of "git
submodule summary" by setting the "status.submodulesummary" config option.
But status and commit also honor the "diff.ignoreSubmodules" and the
"submodule.&lt;name&gt;.ignore" settings, which then disable the summary partly
or completely. This - and the fact that the last two settings do not
affect the "git submodule" commands at all - is not well documented.

Extend the documentation in those places where "status.submodulesummary",
"diff.ignoreSubmodules" and "submodule.&lt;name&gt;.ignore" are described to
better explain these dependencies.

Thanks-to: Matthieu Moy &lt;Matthieu.Moy@grenoble-inp.fr&gt;
Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
