<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/fetch.c, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-12-28T22:08:47Z</updated>
<entry>
<title>Merge branch 'jt/transport-hide-vtable'</title>
<updated>2017-12-28T22:08:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-28T22:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2546de27c31c65cd4a94782cc9939a662d7f837c'/>
<id>urn:sha1:2546de27c31c65cd4a94782cc9939a662d7f837c</id>
<content type='text'>
Code clean-up.

* jt/transport-hide-vtable:
  transport: make transport vtable more private
  clone, fetch: remove redundant transport check
</content>
</entry>
<entry>
<title>clone, fetch: remove redundant transport check</title>
<updated>2017-12-14T22:28:02Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-12-14T21:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=245abe34ac0622b349470b89d4b76a082a133cab'/>
<id>urn:sha1:245abe34ac0622b349470b89d4b76a082a133cab</id>
<content type='text'>
Prior to commit a2d725b7bdf7 ("Use an external program to implement
fetching with curl", 2009-08-05), if Git was compiled with NO_CURL, the
get_refs_list and fetch methods in struct transport might not be
populated, hence the checks in clone and fetch. After that commit, all
transports populate get_refs_list and fetch, making the checks in clone
and fetch redundant. Remove those checks.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: convert get_next_submodule to not rely on the_index</title>
<updated>2017-12-12T20:35:22Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-12-12T19:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e724197f236aa1a4fa87a8e7dd1377dbd0199307'/>
<id>urn:sha1:e724197f236aa1a4fa87a8e7dd1377dbd0199307</id>
<content type='text'>
Instead of implicitly relying on the global 'the_index', convert
'get_next_submodule()' to use the index of the repository stored in the
callback data 'struct submodule_parallel_fetch'.

Since this removes the last user of the index compatibility macros,
define 'NO_THE_INDEX_COMPATIBILITY_MACROS' to prevent future users of
these macros in submodule.c.

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>Convert check_connected to use struct object_id</title>
<updated>2017-10-16T02:05:50Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-10-15T22:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6ccac9eed56280f035d84605b4451ae1721a3100'/>
<id>urn:sha1:6ccac9eed56280f035d84605b4451ae1721a3100</id>
<content type='text'>
Convert check_connected and the callbacks it takes to use struct
object_id.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs: update ref transactions to use struct object_id</title>
<updated>2017-10-16T02:05:50Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-10-15T22:06:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=89f3bbdd3b1f46a5747aa5618b7742f7b3f2adef'/>
<id>urn:sha1:89f3bbdd3b1f46a5747aa5618b7742f7b3f2adef</id>
<content type='text'>
Update the ref transaction code to use struct object_id.  Remove one
NULL pointer check which was previously inserted around a dereference;
since we now pass a pointer to struct object_id directly through, the
code we're calling handles this for us.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jt/packmigrate'</title>
<updated>2017-08-27T05:55:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-27T05:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eabdcd4ab4b04af8f39e5ea3847b6d364acb874e'/>
<id>urn:sha1:eabdcd4ab4b04af8f39e5ea3847b6d364acb874e</id>
<content type='text'>
Code movement to make it easier to hack later.

* jt/packmigrate: (23 commits)
  pack: move for_each_packed_object()
  pack: move has_pack_index()
  pack: move has_sha1_pack()
  pack: move find_pack_entry() and make it global
  pack: move find_sha1_pack()
  pack: move find_pack_entry_one(), is_pack_valid()
  pack: move check_pack_index_ptr(), nth_packed_object_offset()
  pack: move nth_packed_object_{sha1,oid}
  pack: move clear_delta_base_cache(), packed_object_info(), unpack_entry()
  pack: move unpack_object_header()
  pack: move get_size_from_delta()
  pack: move unpack_object_header_buffer()
  pack: move {,re}prepare_packed_git and approximate_object_count
  pack: move install_packed_git()
  pack: move add_packed_git()
  pack: move unuse_pack()
  pack: move use_pack()
  pack: move pack-closing functions
  pack: move release_pack_memory()
  pack: move open_pack_index(), parse_pack_index()
  ...
</content>
</entry>
<entry>
<title>pack: move pack-closing functions</title>
<updated>2017-08-23T22:12:06Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3836d88ae575cf2321fb17296f748c0bb35ba268'/>
<id>urn:sha1:3836d88ae575cf2321fb17296f748c0bb35ba268</id>
<content type='text'>
The function close_pack_fd() needs to be temporarily made global. Its
scope will be restored to static in a subsequent commit.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: remove gitmodules_config</title>
<updated>2017-08-03T20:11:02Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-08-03T18:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=557a5998df19faf8641acfc5b6b1c3c2ba64dca9'/>
<id>urn:sha1:557a5998df19faf8641acfc5b6b1c3c2ba64dca9</id>
<content type='text'>
Now that the submodule-config subsystem can lazily read the gitmodules
file we no longer need to explicitly pre-read the gitmodules by calling
'gitmodules_config()' so let's remove it.

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>fetch: don't overlay config with submodule-config</title>
<updated>2017-08-03T20:11:01Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-08-03T18:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=492c6c46da7847370d8ce0e6d369ae62215b6f8e'/>
<id>urn:sha1:492c6c46da7847370d8ce0e6d369ae62215b6f8e</id>
<content type='text'>
Don't rely on overlaying the repository's config on top of the
submodule-config, instead query the repository's config directly for the
fetch_recurse field.

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: remove fetch.recursesubmodules from submodule-config parsing</title>
<updated>2017-08-02T21:26:46Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-08-02T19:49:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8fa2915971e5032e6a32f5096452db81ab8795eb'/>
<id>urn:sha1:8fa2915971e5032e6a32f5096452db81ab8795eb</id>
<content type='text'>
Remove the 'fetch.recursesubmodules' configuration option from the
general submodule-config parsing and instead rely on using
'config_from_gitmodules()' in order to maintain backwards compatibility
with this config being placed in the '.gitmodules' file.

Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
