<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/fetch.c, 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-01T06:06:38Z</updated>
<entry>
<title>Merge branch 'nd/use-opt-int-set-f'</title>
<updated>2018-06-01T06:06:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-06-01T06:06:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1149fd7d95e3b63f56d4360e135428fc3f7eb82'/>
<id>urn:sha1:e1149fd7d95e3b63f56d4360e135428fc3f7eb82</id>
<content type='text'>
Code simplification.

* nd/use-opt-int-set-f:
  Use OPT_SET_INT_F() for cmdline option specification
</content>
</entry>
<entry>
<title>Merge branch 'bw/ref-prefix-for-configured-refspec'</title>
<updated>2018-05-30T12:51:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-30T12:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e12cbeaa624b82bc00d585bb24c8034fbf5f9de2'/>
<id>urn:sha1:e12cbeaa624b82bc00d585bb24c8034fbf5f9de2</id>
<content type='text'>
"git fetch $there $refspec" that talks over protocol v2 can take
advantage of server-side ref filtering; the code has been extended
so that this mechanism triggers also when fetching with configured
refspec.

* bw/ref-prefix-for-configured-refspec: (38 commits)
  fetch: generate ref-prefixes when using a configured refspec
  refspec: consolidate ref-prefix generation logic
  submodule: convert push_unpushed_submodules to take a struct refspec
  remote: convert check_push_refs to take a struct refspec
  remote: convert match_push_refs to take a struct refspec
  http-push: store refspecs in a struct refspec
  transport: remove transport_verify_remote_names
  send-pack: store refspecs in a struct refspec
  transport: convert transport_push to take a struct refspec
  push: convert to use struct refspec
  push: check for errors earlier
  remote: convert match_explicit_refs to take a struct refspec
  remote: convert get_ref_match to take a struct refspec
  remote: convert query_refspecs to take a struct refspec
  remote: convert apply_refspecs to take a struct refspec
  remote: convert get_stale_heads to take a struct refspec
  fetch: convert prune_refs to take a struct refspec
  fetch: convert get_ref_map to take a struct refspec
  fetch: convert do_fetch to take a struct refspec
  refspec: remove the deprecated functions
  ...
</content>
</entry>
<entry>
<title>Use OPT_SET_INT_F() for cmdline option specification</title>
<updated>2018-05-24T07:12:29Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-05-20T15:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3e4a67b47d020c8c61d8a762d1903f5288e94778'/>
<id>urn:sha1:3e4a67b47d020c8c61d8a762d1903f5288e94778</id>
<content type='text'>
The only thing these commands need is extra parseopt flag which can be
passed in by OPT_SET_INT_F() and it is a bit more compact than full
struct initialization.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sb/oid-object-info'</title>
<updated>2018-05-23T05:38:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-23T05:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fcb6df325468a7ae12949ab80dcd37772b9b1fbf'/>
<id>urn:sha1:fcb6df325468a7ae12949ab80dcd37772b9b1fbf</id>
<content type='text'>
The codepath around object-info API has been taught to take the
repository object (which in turn tells the API which object store
the objects are to be located).

* sb/oid-object-info:
  cache.h: allow oid_object_info to handle arbitrary repositories
  packfile: add repository argument to cache_or_unpack_entry
  packfile: add repository argument to unpack_entry
  packfile: add repository argument to read_object
  packfile: add repository argument to packed_object_info
  packfile: add repository argument to packed_to_object_type
  packfile: add repository argument to retry_bad_packed_offset
  cache.h: add repository argument to oid_object_info
  cache.h: add repository argument to oid_object_info_extended
</content>
</entry>
<entry>
<title>fetch: generate ref-prefixes when using a configured refspec</title>
<updated>2018-05-17T21:35:37Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2018-05-16T23:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dcc73cf7ffd17e68bda05fff4c139465580aff28'/>
<id>urn:sha1:dcc73cf7ffd17e68bda05fff4c139465580aff28</id>
<content type='text'>
Teach fetch to generate ref-prefixes, to be used for server-side
filtering of the ref-advertisement, based on the configured fetch
refspec ('remote.&lt;name&gt;.fetch') when no user provided refspec exists.

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>refspec: consolidate ref-prefix generation logic</title>
<updated>2018-05-17T21:35:35Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2018-05-16T23:48:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6373cb598e1a4e0340583ad75d5abba01ff79774'/>
<id>urn:sha1:6373cb598e1a4e0340583ad75d5abba01ff79774</id>
<content type='text'>
When using protocol v2 a client constructs a list of ref-prefixes which
are sent across the wire so that the server can do server-side filtering
of the ref-advertisement.  The logic that does this exists for both
fetch and push (even though no push support for v2 currently exists yet)
and is roughly the same so lets consolidate this logic and make it
general enough that it can be used for both the push and fetch cases.

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>remote: convert get_stale_heads to take a struct refspec</title>
<updated>2018-05-17T21:19:43Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2018-05-16T22:58:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2ac50cbfd232b5739bafaf6bfdb80c13633b732'/>
<id>urn:sha1:a2ac50cbfd232b5739bafaf6bfdb80c13633b732</id>
<content type='text'>
Convert 'get_stale_heads()' to take a 'struct refspec' as a parameter instead
of a list of 'struct refspec_item'.

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: convert prune_refs to take a struct refspec</title>
<updated>2018-05-17T21:19:43Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2018-05-16T22:58:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=def11e71932a908bf9e1339f05235d9ba39a2774'/>
<id>urn:sha1:def11e71932a908bf9e1339f05235d9ba39a2774</id>
<content type='text'>
Convert 'prune_refs()' to take a 'struct refspec' as a parameter instead
of a list of 'struct refspec_item'.

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: convert get_ref_map to take a struct refspec</title>
<updated>2018-05-17T21:19:43Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2018-05-16T22:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=65d96c8b7dd78aad623d833c2c8dec625b8e00b6'/>
<id>urn:sha1:65d96c8b7dd78aad623d833c2c8dec625b8e00b6</id>
<content type='text'>
Convert 'get_ref_map()' to take a 'struct refspec' as a parameter
instead of a list of 'struct refspec_item'.

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: convert do_fetch to take a struct refspec</title>
<updated>2018-05-17T21:19:43Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2018-05-16T22:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=65a1301f2e01b454777bb15328f8071282bee702'/>
<id>urn:sha1:65a1301f2e01b454777bb15328f8071282bee702</id>
<content type='text'>
Convert 'do_fetch()' to take a 'struct refspec' as a parameter instead
of a list of 'struct refspec_item'.

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