<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/submodule-config.c, 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>2017-03-24T19:57:52Z</updated>
<entry>
<title>Merge branch 'sb/submodule-config-parse-ignore-fix' into maint</title>
<updated>2017-03-24T19:57:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-03-24T19:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f3d5bbb28322307592f9e5f5f21e69ff0249eea7'/>
<id>urn:sha1:f3d5bbb28322307592f9e5f5f21e69ff0249eea7</id>
<content type='text'>
Code to read submodule.&lt;name&gt;.ignore config did not state the
variable name correctly when giving an error message diagnosing
misconfiguration.

* sb/submodule-config-parse-ignore-fix:
  submodule-config: correct error reporting for invalid ignore value
</content>
</entry>
<entry>
<title>submodule-config: correct error reporting for invalid ignore value</title>
<updated>2017-03-15T18:26:08Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2017-03-14T22:14:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ea304896e1e2bfbf104c4098df70f93b5952cfa'/>
<id>urn:sha1:5ea304896e1e2bfbf104c4098df70f93b5952cfa</id>
<content type='text'>
As 'var' contains the whole value we get error messages that repeat
the section and key currently:

warning: Invalid parameter 'true' for config option 'submodule.submodule.plugins/hooks.ignore.ignore'

Fix this by only giving the section name in the warning.

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>Merge branch 'bw/push-submodule-only'</title>
<updated>2017-01-31T21:14:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-31T21:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=792e22e3fd99f204be11b0ff173f2d991308dca5'/>
<id>urn:sha1:792e22e3fd99f204be11b0ff173f2d991308dca5</id>
<content type='text'>
"git submodule push" learned "--recurse-submodules=only option to
push submodules out without pushing the top-level superproject.

* bw/push-submodule-only:
  push: add option to push only submodules
  submodules: add RECURSE_SUBMODULES_ONLY value
  transport: reformat flag #defines to be more readable
</content>
</entry>
<entry>
<title>Merge branch 'bw/grep-recurse-submodules'</title>
<updated>2017-01-18T23:12:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-18T23:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=55d128ae06b7b82f867961b677984620612a201c'/>
<id>urn:sha1:55d128ae06b7b82f867961b677984620612a201c</id>
<content type='text'>
"git grep" has been taught to optionally recurse into submodules.

* bw/grep-recurse-submodules:
  grep: search history of moved submodules
  grep: enable recurse-submodules to work on &lt;tree&gt; objects
  grep: optionally recurse into submodules
  grep: add submodules as a grep source type
  submodules: load gitmodules file from commit sha1
  submodules: add helper to determine if a submodule is initialized
  submodules: add helper to determine if a submodule is populated
  real_path: canonicalize directory separators in root parts
  real_path: have callers use real_pathdup and strbuf_realpath
  real_path: create real_pathdup
  real_path: convert real_path_internal to strbuf_realpath
  real_path: resolve symlinks by hand
</content>
</entry>
<entry>
<title>submodules: load gitmodules file from commit sha1</title>
<updated>2016-12-22T19:47:33Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2016-12-16T19:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ebf689aad72bfc091da21e1d73a05308f1ace85'/>
<id>urn:sha1:9ebf689aad72bfc091da21e1d73a05308f1ace85</id>
<content type='text'>
teach submodules to load a '.gitmodules' file from a commit sha1.  This
enables the population of the submodule_cache to be based on the state
of the '.gitmodules' file from a particular commit.

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>submodules: add RECURSE_SUBMODULES_ONLY value</title>
<updated>2016-12-20T20:26:34Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2016-12-19T18:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c656c3fe4ba13cdf03ed85c059690653fd376cb'/>
<id>urn:sha1:6c656c3fe4ba13cdf03ed85c059690653fd376cb</id>
<content type='text'>
Add the `RECURSE_SUBMODULES_ONLY` enum value to submodule.h.  This enum
value will be used in a later patch to push to indicate that only
submodules should be pushed, while the superproject should remain
unpushed.

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>submodule-config: rename commit_sha1 to treeish_name</title>
<updated>2016-11-22T22:43:03Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-11-22T20:14:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=73c293bb6c15992690b16c90bcac243a76d86400'/>
<id>urn:sha1:73c293bb6c15992690b16c90bcac243a76d86400</id>
<content type='text'>
It is also possible to pass in any treeish name to lookup a submodule
config. Make it clear by naming the variables accordingly. Looking up
a submodule config by tree hash will come in handy in a later patch.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Reviewed-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule config: inline config_from_{name, path}</title>
<updated>2016-11-22T22:43:03Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-11-22T20:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6ead0f2dba3bdd9c1250298a4d82ea05cec2333'/>
<id>urn:sha1:e6ead0f2dba3bdd9c1250298a4d82ea05cec2333</id>
<content type='text'>
There is no other user of config_from_{name, path}, such that there is no
reason for the existence of these one liner functions. Just inline these
to increase readability.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Reviewed-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sb/submodule-update-dot-branch'</title>
<updated>2016-08-10T19:33:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-08-10T19:33:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=11b53957ac81dc31668a1d8fe65d19d5f60dd501'/>
<id>urn:sha1:11b53957ac81dc31668a1d8fe65d19d5f60dd501</id>
<content type='text'>
A few updates to "git submodule update".

Use of "| wc -l" break with BSD variant of 'wc'.

* sb/submodule-update-dot-branch:
  t7406: fix breakage on OSX
  submodule update: allow '.' for branch value
  submodule--helper: add remote-branch helper
  submodule-config: keep configured branch around
  submodule--helper: fix usage string for relative-path
  submodule update: narrow scope of local variable
  submodule update: respect depth in subsequent fetches
  t7406: future proof tests with hard coded depth
</content>
</entry>
<entry>
<title>Merge branch 'va/i18n'</title>
<updated>2016-08-08T21:48:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-08-08T21:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=768ededa9c4e804ead6d473d4fe3a8092a77b05c'/>
<id>urn:sha1:768ededa9c4e804ead6d473d4fe3a8092a77b05c</id>
<content type='text'>
More i18n marking.

* va/i18n:
  i18n: config: unfold error messages marked for translation
  i18n: notes: mark comment for translation
</content>
</entry>
</feed>
