<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/fetch.c, branch v2.21.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.21.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.21.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-02-11T20:58:06Z</updated>
<entry>
<title>Fix typos in translatable strings for v2.21.0</title>
<updated>2019-02-11T20:58:06Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2019-02-11T06:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=32ceace39fa224e8e01c791d441b1dd411ba2aba'/>
<id>urn:sha1:32ceace39fa224e8e01c791d441b1dd411ba2aba</id>
<content type='text'>
Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/loose-object-cache-oid'</title>
<updated>2019-02-07T06:05:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-02-07T06:05:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cba595ab1a7764aecfde2e8e59994f89b2cd2f2e'/>
<id>urn:sha1:cba595ab1a7764aecfde2e8e59994f89b2cd2f2e</id>
<content type='text'>
Code clean-up.

* jk/loose-object-cache-oid:
  prefer "hash mismatch" to "sha1 mismatch"
  sha1-file: avoid "sha1 file" for generic use in messages
  sha1-file: prefer "loose object file" to "sha1 file" in messages
  sha1-file: drop has_sha1_file()
  convert has_sha1_file() callers to has_object_file()
  sha1-file: convert pass-through functions to object_id
  sha1-file: modernize loose header/stream functions
  sha1-file: modernize loose object file functions
  http: use struct object_id instead of bare sha1
  update comment references to sha1_object_info()
  sha1-file: fix outdated sha1 comment references
</content>
</entry>
<entry>
<title>Merge branch 'nd/fetch-compact-update'</title>
<updated>2019-02-05T22:26:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-02-05T22:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d6cc13602bdd61d6f12a5fc10b2d342033502afa'/>
<id>urn:sha1:d6cc13602bdd61d6f12a5fc10b2d342033502afa</id>
<content type='text'>
"git fetch" output cleanup.

* nd/fetch-compact-update:
  fetch: prefer suffix substitution in compact fetch.output
</content>
</entry>
<entry>
<title>Merge branch 'js/filter-options-should-use-plain-int'</title>
<updated>2019-02-05T22:26:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-02-05T22:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=073312b4c7a15d484d2ffdc2eb4a406df9cf9c55'/>
<id>urn:sha1:073312b4c7a15d484d2ffdc2eb4a406df9cf9c55</id>
<content type='text'>
Update the protocol message specification to allow only the limited
use of scaled quantities.  This is ensure potential compatibility
issues will not go out of hand.

* js/filter-options-should-use-plain-int:
  filter-options: expand scaled numbers
  tree:&lt;depth&gt;: skip some trees even when collecting omits
  list-objects-filter: teach tree:# how to handle &gt;0
</content>
</entry>
<entry>
<title>Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'</title>
<updated>2019-01-29T20:47:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-01-29T20:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5d3635db19c6dff4fb063fabfa4161fd3b8285f0'/>
<id>urn:sha1:5d3635db19c6dff4fb063fabfa4161fd3b8285f0</id>
<content type='text'>
"git fetch --recurse-submodules" may not fetch the necessary commit
that is bound to the superproject, which is getting corrected.

* sb/submodule-recursive-fetch-gets-the-tip:
  fetch: ensure submodule objects fetched
  submodule.c: fetch in submodules git directory instead of in worktree
  submodule: migrate get_next_submodule to use repository structs
  repository: repo_submodule_init to take a submodule struct
  submodule: store OIDs in changed_submodule_names
  submodule.c: tighten scope of changed_submodule_names struct
  submodule.c: sort changed_submodule_names before searching it
  submodule.c: fix indentation
  sha1-array: provide oid_array_filter
</content>
</entry>
<entry>
<title>Merge branch 'cc/fetch-error-message-fix'</title>
<updated>2019-01-29T20:47:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-01-29T20:47:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=61c51acf7d2e01b968745aaa53de877135be28ec'/>
<id>urn:sha1:61c51acf7d2e01b968745aaa53de877135be28ec</id>
<content type='text'>
Error message fix.

* cc/fetch-error-message-fix:
  fetch: fix extensions.partialclone name in error message
</content>
</entry>
<entry>
<title>fetch: prefer suffix substitution in compact fetch.output</title>
<updated>2019-01-28T00:20:34Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-01-25T09:51:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dc40b24df47af35f486e2c5139121b6cddc2dcb9'/>
<id>urn:sha1:dc40b24df47af35f486e2c5139121b6cddc2dcb9</id>
<content type='text'>
I have a remote named "jch" and it has a branch with the same name. And
fetch.output is set to "compact". Fetching this remote looks like this

 From https://github.com/gitster/git
  + eb7fd39f6b...835363af2f jch                -&gt; */jch  (forced update)
    6f11fd5edb..59b12ae96a  nd/config-move-to  -&gt; jch/*
  * [new branch]            nd/diff-parseopt   -&gt; jch/*
  * [new branch]            nd/the-index-final -&gt; jch/*

Notice that the local side of branch jch starts with "*" instead of
ending with it like the rest. It's not exactly wrong. It just looks
weird.

This patch changes the find-and-replace code a bit to try finding prefix
first before falling back to strstr() which finds a substring from left
to right. Now we have something less OCD

 From https://github.com/gitster/git
  + eb7fd39f6b...835363af2f jch                -&gt; jch/*  (forced update)
    6f11fd5edb..59b12ae96a  nd/config-move-to  -&gt; jch/*
  * [new branch]            nd/diff-parseopt   -&gt; jch/*
  * [new branch]            nd/the-index-final -&gt; jch/*

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>filter-options: expand scaled numbers</title>
<updated>2019-01-15T23:42:31Z</updated>
<author>
<name>Josh Steadmon</name>
<email>steadmon@google.com</email>
</author>
<published>2019-01-08T00:17:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=87c2d9d3102e6c388f2d29f1bdb0b3a222d9a707'/>
<id>urn:sha1:87c2d9d3102e6c388f2d29f1bdb0b3a222d9a707</id>
<content type='text'>
When communicating with a remote server or a subprocess, use
expanded numbers rather than numbers with scaling suffix in the
object filter spec (e.g.  "limit:blob=1k" becomes
"limit:blob=1024").

Update the protocol docs to note that clients should always perform this
expansion, to allow for more compatibility between server
implementations.

Signed-off-by: Josh Steadmon &lt;steadmon@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>fetch: fix extensions.partialclone name in error message</title>
<updated>2019-01-14T18:49:09Z</updated>
<author>
<name>Christian Couder</name>
<email>christian.couder@gmail.com</email>
</author>
<published>2019-01-13T08:52:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e01378753d42de16e03dc378c9848b22dfa1dd4f'/>
<id>urn:sha1:e01378753d42de16e03dc378c9848b22dfa1dd4f</id>
<content type='text'>
There is "extensions.partialclone" and "core.partialCloneFilter", but
not "core.partialclone". Only "extensions.partialclone" is meant to
contain a remote name.

While at it, let's wrap the relevant code lines to keep them at a
reasonable length.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>convert has_sha1_file() callers to has_object_file()</title>
<updated>2019-01-08T17:41:06Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2019-01-07T08:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98374a07c98d1acc200c423b87495365a59cce0b'/>
<id>urn:sha1:98374a07c98d1acc200c423b87495365a59cce0b</id>
<content type='text'>
The only remaining callers of has_sha1_file() actually have an object_id
already. They can use the "object" variant, rather than dereferencing
the hash themselves.

The code changes here were completely generated by the included
coccinelle patch.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
