<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t7400-submodule-basic.sh, branch v2.18.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.18.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.18.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-06-19T16:26:59Z</updated>
<entry>
<title>Merge branch 'cf/submodule-progress-dissociate'</title>
<updated>2018-06-19T16:26:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-06-19T16:26:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bd73c3f13f34ae47b956777aa4bb785b91078ee5'/>
<id>urn:sha1:bd73c3f13f34ae47b956777aa4bb785b91078ee5</id>
<content type='text'>
* cf/submodule-progress-dissociate:
  t7400: encapsulate setup code in test_expect_success
</content>
</entry>
<entry>
<title>t7400: encapsulate setup code in test_expect_success</title>
<updated>2018-06-19T16:25:56Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2018-06-18T23:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=83f5fa58e8c1322f4f54ed6974da0348b54b5134'/>
<id>urn:sha1:83f5fa58e8c1322f4f54ed6974da0348b54b5134</id>
<content type='text'>
When running t7400 in a shell you observe more output than expected:

    ...
    ok 8 - setup - hide init subdirectory
    ok 9 - setup - repository to add submodules to
    ok 10 - submodule add
    [master (root-commit) d79ce16] one
     Author: A U Thor &lt;author@example.com&gt;
     1 file changed, 1 insertion(+)
     create mode 100644 one.t
    ok 11 - redirected submodule add does not show progress
    ok 12 - redirected submodule add --progress does show progress
    ok 13 - submodule add to .gitignored path fails
    ...

Fix the output by encapsulating the setup code in test_expect_success

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 'cf/submodule-progress-dissociate'</title>
<updated>2018-05-30T05:04:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-30T05:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2a98a8794eac7089d4e44f51b19e358a14eb6d3e'/>
<id>urn:sha1:2a98a8794eac7089d4e44f51b19e358a14eb6d3e</id>
<content type='text'>
"git submodule update" and "git submodule add" supported the
"--reference" option to borrow objects from a neighbouring local
repository like "git clone" does, but lacked the more recent
invention "--dissociate".  Also "git submodule add" has been taught
to take the "--progress" option.

* cf/submodule-progress-dissociate:
  submodule: add --dissociate option to add/update commands
  submodule: add --progress option to add command
  submodule: clean up substitutions in script
</content>
</entry>
<entry>
<title>submodule: add --progress option to add command</title>
<updated>2018-05-22T03:17:10Z</updated>
<author>
<name>Casey Fitzpatrick</name>
<email>kcghost@gmail.com</email>
</author>
<published>2018-05-03T10:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d33e1c28210bacf2e664b55b2feb255991e0ad5'/>
<id>urn:sha1:6d33e1c28210bacf2e664b55b2feb255991e0ad5</id>
<content type='text'>
The '--progress' was introduced in 72c5f88311d (clone: pass --progress
decision to recursive submodules, 2016-09-22) to fix the progress reporting
of the clone command. Also add the progress option to the 'submodule add'
command. The update command already supports the progress flag, but it
is not documented.

Signed-off-by: Casey Fitzpatrick &lt;kcghost@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: check for NULL return of get_submodule_ref_store()</title>
<updated>2018-03-28T22:27:02Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2018-03-28T21:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=74b6bda32f8350b2dc32f8d66f4046272168184e'/>
<id>urn:sha1:74b6bda32f8350b2dc32f8d66f4046272168184e</id>
<content type='text'>
If we can't find a ref store for a submodule then assume the latter
is not initialized (or was removed).  Print a status line accordingly
instead of causing a segmentation fault by passing NULL as the first
parameter of refs_head_ref().

Reported-by: Jeremy Feusi &lt;jeremy@feusi.co&gt;
Reviewed-by: Stefan Beller &lt;sbeller@google.com&gt;
Initial-Test-By: Stefan Beller &lt;sbeller@google.com&gt;
Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: fix diff order arguments in test_cmp</title>
<updated>2017-10-07T01:56:08Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2017-10-06T19:00:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c5b2fab304b5ce3233401c7c7e7a123d551c484'/>
<id>urn:sha1:9c5b2fab304b5ce3233401c7c7e7a123d551c484</id>
<content type='text'>
Fix the argument order for test_cmp. When given the expected
result first the diff shows the actual output with '+' and the
expectation with '-', which is the convention for our tests.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bw/submodule-config-cleanup'</title>
<updated>2017-08-27T05:55:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-27T05:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=614ea03a71e6b5281d7fce9f073c091772145047'/>
<id>urn:sha1:614ea03a71e6b5281d7fce9f073c091772145047</id>
<content type='text'>
Code clean-up to avoid mixing values read from the .gitmodules file
and values read from the .git/config file.

* bw/submodule-config-cleanup:
  submodule: remove gitmodules_config
  unpack-trees: improve loading of .gitmodules
  submodule-config: lazy-load a repository's .gitmodules file
  submodule-config: move submodule-config functions to submodule-config.c
  submodule-config: remove support for overlaying repository config
  diff: stop allowing diff to have submodules configured in .git/config
  submodule: remove submodule_config callback routine
  unpack-trees: don't respect submodule.update
  submodule: don't rely on overlayed config when setting diffopts
  fetch: don't overlay config with submodule-config
  submodule--helper: don't overlay config in update-clone
  submodule--helper: don't overlay config in remote_submodule_branch
  add, reset: ensure submodules can be added or reset
  submodule: don't use submodule_from_name
  t7411: check configuration parsing errors
</content>
</entry>
<entry>
<title>clone: teach recursive clones to respect -q</title>
<updated>2017-08-04T16:08:37Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-08-03T22:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03c004c581fb0ecd40bf21990449f393934b15ef'/>
<id>urn:sha1:03c004c581fb0ecd40bf21990449f393934b15ef</id>
<content type='text'>
Teach 'git clone --recurse-submodules' to respect the '-q' option by
passing down the quiet flag to the process which handles cloning of
submodules.

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>t7411: check configuration parsing errors</title>
<updated>2017-08-02T21:35:08Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-07-25T21:39:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ea50954d0632342d38bd1a4d86c5aa601ef5207'/>
<id>urn:sha1:5ea50954d0632342d38bd1a4d86c5aa601ef5207</id>
<content type='text'>
Check for configuration parsing errors in '.gitmodules' in t7411, which
is explicitly testing the submodule-config subsystem, instead of in
t7400.  Also explicitly use the test helper instead of relying on the
gitmodules file from being read in status.

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>Merge branch 'bw/submodule-with-bs-path' into maint</title>
<updated>2017-06-04T01:20:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-04T01:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c95f0d2f9d616132db863992959b05545f8578cc'/>
<id>urn:sha1:c95f0d2f9d616132db863992959b05545f8578cc</id>
<content type='text'>
A hotfix to a topic that is already in v2.13.

* bw/submodule-with-bs-path:
  t7400: add !CYGWIN prerequisite to 'add with \\ in path'
</content>
</entry>
</feed>
