<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/submodule.c, branch v1.7.11</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.11</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.11'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2012-05-23T20:35:06Z</updated>
<entry>
<title>Merge branch 'hv/submodule-alt-odb'</title>
<updated>2012-05-23T20:35:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-05-23T20:35:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4809ff858b78c94ada8bd8a61a89ae8d39eda193'/>
<id>urn:sha1:4809ff858b78c94ada8bd8a61a89ae8d39eda193</id>
<content type='text'>
When peeking into object stores of submodules, the code forgot that they
might borrow objects from alternate object stores on their own.

By Heiko Voigt
* hv/submodule-alt-odb:
  teach add_submodule_odb() to look for alternates
</content>
</entry>
<entry>
<title>teach add_submodule_odb() to look for alternates</title>
<updated>2012-05-14T18:56:42Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2012-05-14T16:24:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=5e73633dbf8a62190611f6eb438a1a2eaaffa919'/>
<id>urn:sha1:5e73633dbf8a62190611f6eb438a1a2eaaffa919</id>
<content type='text'>
Since we allow to link other object databases when loading a submodules
database we should also load possible alternates.

Signed-off-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>push: teach --recurse-submodules the on-demand option</title>
<updated>2012-03-30T16:02:55Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2012-03-29T07:21:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=eb21c732d6b642a8f33abd69071a95de01d5061b'/>
<id>urn:sha1:eb21c732d6b642a8f33abd69071a95de01d5061b</id>
<content type='text'>
When using this option git will search for all submodules that
have changed in the revisions to be send. It will then try to
push the currently checked out branch of each submodule.

This helps when a user has finished working on a change which
involves submodules and just wants to push everything in one go.

Signed-off-by: Fredrik Gustafsson &lt;iveqy@iveqy.com&gt;
Mentored-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Mentored-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Refactor submodule push check to use string list instead of integer</title>
<updated>2012-03-30T15:58:31Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2012-03-29T07:21:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=a762e51ef2a39b0c326a1529dbe7f4cb303960db'/>
<id>urn:sha1:a762e51ef2a39b0c326a1529dbe7f4cb303960db</id>
<content type='text'>
This allows us to tell the user which submodules have not been pushed.
Additionally this is helpful when we want to automatically try to push
submodules that have not been pushed.

Signed-off-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Teach revision walking machinery to walk multiple times sequencially</title>
<updated>2012-03-30T15:57:49Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2012-03-29T07:21:21Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=bcc0a3ea38a42a64878e11c5244ef2fcc967e05d'/>
<id>urn:sha1:bcc0a3ea38a42a64878e11c5244ef2fcc967e05d</id>
<content type='text'>
Previously it was not possible to iterate revisions twice using the
revision walking api. We add a reset_revision_walk() which clears the
used flags. This allows us to do multiple sequencial revision walks.

We add the appropriate calls to the existing submodule machinery doing
revision walks. This is done to avoid surprises if future code wants to
call these functions more than once during the processes lifetime.

Signed-off-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: use diff_tree_combined_merge() instead of diff_tree_combined()</title>
<updated>2011-12-18T02:23:24Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2011-12-17T10:27:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=78e98eaf5ee49bc6d62ef9bdf87066528bfba248'/>
<id>urn:sha1:78e98eaf5ee49bc6d62ef9bdf87066528bfba248</id>
<content type='text'>
Use diff_tree_combined_merge() instead of open-coding it.

Signed-off-by: René Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>use struct sha1_array in diff_tree_combined()</title>
<updated>2011-12-18T02:21:37Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2011-12-17T10:15:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0041f09de6e62efc31c860487f04e8b08bce68c8'/>
<id>urn:sha1:0041f09de6e62efc31c860487f04e8b08bce68c8</id>
<content type='text'>
Maintaining an array of hashes is easier using sha1_array than
open-coding it.  This patch also fixes a leak of the SHA1 array
in  diff_tree_combined_merge().

Signed-off-by: René Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jl/submodule-status-failure-report'</title>
<updated>2011-12-14T07:00:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-14T07:00:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=91c23f76cec4a4ec9b9143b7ebb31e639856ed16'/>
<id>urn:sha1:91c23f76cec4a4ec9b9143b7ebb31e639856ed16</id>
<content type='text'>
* jl/submodule-status-failure-report:
  diff/status: print submodule path when looking for changes fails
</content>
</entry>
<entry>
<title>diff/status: print submodule path when looking for changes fails</title>
<updated>2011-12-08T19:15:01Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2011-12-07T21:50:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=6a5cedac87ff4f1d8d8b535dac8184e1f7fbc454'/>
<id>urn:sha1:6a5cedac87ff4f1d8d8b535dac8184e1f7fbc454</id>
<content type='text'>
diff and status run "git status --porcelain" inside each populated
submodule to see if it contains changes (unless told not to do so via
config or command line option). When that fails, e.g. due to a corrupt
submodule .git directory, it just prints "git status --porcelain failed"
or "Could not run git status --porcelain" without giving the user a clue
where that happened.

Add '"in submodule %s", path' to these error strings to tell the user
where exactly the problem occurred.

Reported-by: Seth Robertson &lt;in-gitvger@baka.org&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>
<entry>
<title>Merge branch 'ab/clang-lints'</title>
<updated>2011-12-05T23:12:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-05T23:12:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e72c1dd3bd3b6b2255707136348628a99d3b74a5'/>
<id>urn:sha1:e72c1dd3bd3b6b2255707136348628a99d3b74a5</id>
<content type='text'>
* ab/clang-lints:
  cast variable in call to free() in builtin/diff.c and submodule.c
  apply: get rid of useless x &lt; 0 comparison on a size_t type
</content>
</entry>
</feed>
