<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/submodule-config.c, branch v2.9.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.9.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-05-10T20:40:29Z</updated>
<entry>
<title>Merge branch 'sb/misc-cleanups'</title>
<updated>2016-05-10T20:40:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-05-10T20:40:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=934908ae5bcd7b9944d925f73e05c60b2687c8b7'/>
<id>urn:sha1:934908ae5bcd7b9944d925f73e05c60b2687c8b7</id>
<content type='text'>
* sb/misc-cleanups:
  submodule-config: don't shadow `cache`
  config.c: drop local variable
</content>
</entry>
<entry>
<title>submodule-config: don't shadow `cache`</title>
<updated>2016-04-28T16:56:16Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-04-27T21:30:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=99dab16863c2eca584a84bdde748b9c113717603'/>
<id>urn:sha1:99dab16863c2eca584a84bdde748b9c113717603</id>
<content type='text'>
Lots of internal functions in submodule-confic.c have a first parameter
`struct submodule_cache *cache`, which currently always refers to the
global variable `cache` in the file. To avoid confusion rename the
global `cache` variable.

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 'ak/use-hashmap-iter-first-in-submodule-config'</title>
<updated>2016-04-13T21:12:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-13T21:12:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=73385f20e14be779f06177fb9f307d63662d36d1'/>
<id>urn:sha1:73385f20e14be779f06177fb9f307d63662d36d1</id>
<content type='text'>
Minor code cleanup.

* ak/use-hashmap-iter-first-in-submodule-config:
  submodule-config: use hashmap_iter_first()
</content>
</entry>
<entry>
<title>Merge branch 'sb/submodule-parallel-update'</title>
<updated>2016-04-06T18:39:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-06T18:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bdebbeb3346e9867005947aff356b99a7358e5ab'/>
<id>urn:sha1:bdebbeb3346e9867005947aff356b99a7358e5ab</id>
<content type='text'>
A major part of "git submodule update" has been ported to C to take
advantage of the recently added framework to run download tasks in
parallel.

* sb/submodule-parallel-update:
  clone: allow an explicit argument for parallel submodule clones
  submodule update: expose parallelism to the user
  submodule helper: remove double 'fatal: ' prefix
  git submodule update: have a dedicated helper for cloning
  run_processes_parallel: rename parameters for the callbacks
  run_processes_parallel: treat output of children as byte array
  submodule update: direct error message to stderr
  fetching submodules: respect `submodule.fetchJobs` config option
  submodule-config: drop check against NULL
  submodule-config: keep update strategy around
</content>
</entry>
<entry>
<title>submodule-config: use hashmap_iter_first()</title>
<updated>2016-03-23T20:39:13Z</updated>
<author>
<name>Alexander Kuleshov</name>
<email>kuleshovmail@gmail.com</email>
</author>
<published>2016-03-16T07:46:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01d98e8a5dc0c1951450bed88e12d0af1a01cb20'/>
<id>urn:sha1:01d98e8a5dc0c1951450bed88e12d0af1a01cb20</id>
<content type='text'>
The hashmap API provides hashmap_iter_first() helper for initialion
and getting the first entry of a hashmap. Let's use it instead of
doing initialization manually and then get the first entry.

There are no functional changes, just cleanup.

Signed-off-by: Alexander Kuleshov &lt;kuleshovmail@gmail.com&gt;
Reviewed-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule-config: drop check against NULL</title>
<updated>2016-03-01T19:57:17Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-03-01T02:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f73da11024adba18fe7443a420259ad07e0139d5'/>
<id>urn:sha1:f73da11024adba18fe7443a420259ad07e0139d5</id>
<content type='text'>
Adhere to the common coding style of Git and not check explicitly
for NULL throughout the file. There are still other occurrences in the
code base but that is usually inside of conditions with side effects.

Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
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-config: keep update strategy around</title>
<updated>2016-03-01T19:57:17Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-03-01T02:07:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ea2fa5a3388281b880ae2aa75c8eac0d4b1a6c69'/>
<id>urn:sha1:ea2fa5a3388281b880ae2aa75c8eac0d4b1a6c69</id>
<content type='text'>
Currently submodule.&lt;name&gt;.update is only handled by git-submodule.sh.
C code will start to need to make use of that value as more of the
functionality of git-submodule.sh moves into library code in C.

Add the update field to 'struct submodule' and populate it so it can
be read as sm-&gt;update or from sm-&gt;update_command.

Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
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>config: add 'origin_type' to config_source struct</title>
<updated>2016-02-22T17:36:33Z</updated>
<author>
<name>Lars Schneider</name>
<email>larsxschneider@gmail.com</email>
</author>
<published>2016-02-19T09:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=473166b99078a2724b4fcda11a6a5327b9af60da'/>
<id>urn:sha1:473166b99078a2724b4fcda11a6a5327b9af60da</id>
<content type='text'>
Use the config origin_type to print more detailed error messages that
inform the user about the origin of a config error (file, stdin, blob).

Helped-by: Ramsay Jones &lt;ramsay@ramsayjones.plus.com&gt;
Signed-off-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Acked-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rename git_config_from_buf to git_config_from_mem</title>
<updated>2016-02-19T18:08:12Z</updated>
<author>
<name>Lars Schneider</name>
<email>larsxschneider@gmail.com</email>
</author>
<published>2016-02-19T09:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7454ee3c623a6788d91fd3c97af134de33996cfa'/>
<id>urn:sha1:7454ee3c623a6788d91fd3c97af134de33996cfa</id>
<content type='text'>
This matches the naming used in the index_{fd,mem,...} functions.

Suggested-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>push: add recurseSubmodules config option</title>
<updated>2015-11-20T13:02:07Z</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2015-11-17T11:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b33a15b08131514b593015cb3e719faf9db20208'/>
<id>urn:sha1:b33a15b08131514b593015cb3e719faf9db20208</id>
<content type='text'>
The --recurse-submodules command line parameter has existed for some
time but it has no config file equivalent.

Following the style of the corresponding parameter for git fetch, let's
invent push.recurseSubmodules to provide a default for this
parameter. This also requires the addition of --recurse-submodules=no to
allow the configuration to be overridden on the command line when
required.

The most straightforward way to implement this appears to be to make
push use code in submodule-config in a similar way to fetch.

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
</feed>
