<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-submodule.sh, branch v2.10.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v2.10.3</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v2.10.3'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2016-08-10T19:33:20Z</updated>
<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://www.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 'sb/submodule-clone-retry'</title>
<updated>2016-08-04T21:39:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-08-04T21:39:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1e9a4856fb263ad8227456f9ec6b78804afe7cee'/>
<id>urn:sha1:1e9a4856fb263ad8227456f9ec6b78804afe7cee</id>
<content type='text'>
An earlier tweak to make "submodule update" retry a failing clone
of submodules was buggy and caused segfault, which has been fixed.

* sb/submodule-clone-retry:
  submodule-helper: fix indexing in clone retry error reporting path
  git-submodule: forward exit code of git-submodule--helper more faithfully
</content>
</entry>
<entry>
<title>submodule--helper: add remote-branch helper</title>
<updated>2016-08-03T23:11:35Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-08-03T20:44:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=92bbe7ccf1fedac825f2c6ab4c8de91dc5370fd2'/>
<id>urn:sha1:92bbe7ccf1fedac825f2c6ab4c8de91dc5370fd2</id>
<content type='text'>
In a later patch we want to enhance the logic for the branch selection.
Rewrite the current logic to be in C, so we can directly use C when
we enhance the logic.

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 update: narrow scope of local variable</title>
<updated>2016-08-01T21:41:51Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-07-29T00:44:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=341238ebc4c95a351db2e047a0ca2340766b48e8'/>
<id>urn:sha1:341238ebc4c95a351db2e047a0ca2340766b48e8</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>submodule update: respect depth in subsequent fetches</title>
<updated>2016-08-01T21:41:02Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-07-29T00:44:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=6cbf454a2eaa016efff04bd696dc1ec24b515c11'/>
<id>urn:sha1:6cbf454a2eaa016efff04bd696dc1ec24b515c11</id>
<content type='text'>
When depth is given the user may have a reasonable expectation that
any remote operation is using the given depth. Add a test to demonstrate
we still get the desired sha1 even if the depth is too short to
include the actual commit.

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 'sb/submodule-deinit-all'</title>
<updated>2016-07-28T17:34:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-28T17:34:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b8307836d2ce84fb4201a20955c78a3f472bb9fa'/>
<id>urn:sha1:b8307836d2ce84fb4201a20955c78a3f472bb9fa</id>
<content type='text'>
A comment update for a topic that was merged to Git v2.8.

* sb/submodule-deinit-all:
  submodule deinit: remove outdated comment
</content>
</entry>
<entry>
<title>submodule deinit: remove outdated comment</title>
<updated>2016-07-26T20:52:14Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-07-26T00:35:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=406621f43dcb91e5c38f0e1c73eab9aa5cc44843'/>
<id>urn:sha1:406621f43dcb91e5c38f0e1c73eab9aa5cc44843</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>git-submodule: forward exit code of git-submodule--helper more faithfully</title>
<updated>2016-07-22T20:43:50Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2016-07-22T19:14:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c4c02bf16c47f8751958458e540269ec13f4bd98'/>
<id>urn:sha1:c4c02bf16c47f8751958458e540269ec13f4bd98</id>
<content type='text'>
git-submodule--helper is invoked as the upstream of a pipe in several
places. Usually, the failure of a program in this position is not
detected by the shell. For this reason, the code inserts a token in the
output stream when git-submodule--helper fails that is detected
downstream, where the shell script is quit with exit code 1.

There happens to be a bug in git-submodule--helper that leads to a
segmentation fault. The test suite triggers the crash in several places,
all of which are protected by 'test_must_fail'. But due to the inspecific
exit code 1, the crash remains undiagnosed.

Extend the failure protocol such that git-submodule--helper's exit code
is passed downstream (only in the case of failure). This enables the
downstream to use it as its own exit code, and 'test_must_fail' to
identify the segmentation fault as an unexpected failure.

The bug itself is fixed in the next commit.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Acked-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 'va/i18n-even-more'</title>
<updated>2016-07-13T18:24:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-13T18:24:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2703572b3a005848ed058d2775fb933a17ac3656'/>
<id>urn:sha1:2703572b3a005848ed058d2775fb933a17ac3656</id>
<content type='text'>
More markings of messages for i18n, with updates to various tests
to pass GETTEXT_POISON tests.

One patch from the original submission dropped due to conflicts
with jk/upload-pack-hook, which is still in flux.

* va/i18n-even-more: (38 commits)
  t5541: become resilient to GETTEXT_POISON
  i18n: branch: mark comment when editing branch description for translation
  i18n: unmark die messages for translation
  i18n: submodule: escape shell variables inside eval_gettext
  i18n: submodule: join strings marked for translation
  i18n: init-db: join message pieces
  i18n: remote: allow translations to reorder message
  i18n: remote: mark URL fallback text for translation
  i18n: standardise messages
  i18n: sequencer: add period to error message
  i18n: merge: change command option help to lowercase
  i18n: merge: mark messages for translation
  i18n: notes: mark options for translation
  i18n: notes: mark strings for translation
  i18n: transport-helper.c: change N_() call to _()
  i18n: bisect: mark strings for translation
  t5523: use test_i18ngrep for negation
  t4153: fix negated test_i18ngrep call
  t9003: become resilient to GETTEXT_POISON
  tests: unpack-trees: update to use test_i18n* functions
  ...
</content>
</entry>
<entry>
<title>Merge branch 'sb/submodule-clone-retry'</title>
<updated>2016-07-11T17:31:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-11T17:31:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=bb2d8a817df91c68742e10ace2a791de176f7247'/>
<id>urn:sha1:bb2d8a817df91c68742e10ace2a791de176f7247</id>
<content type='text'>
"git submodule update" that drives many "git clone" could
eventually hit flaky servers/network conditions on one of the
submodules; the command learned to retry the attempt.

* sb/submodule-clone-retry:
  submodule update: continue when a clone fails
  submodule--helper: initial clone learns retry logic
</content>
</entry>
</feed>
