<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http.c, branch v2.20.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.20.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.20.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-11-29T06:45:31Z</updated>
<entry>
<title>i18n: fix small typos</title>
<updated>2018-11-29T06:45:31Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2018-11-28T21:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d355e46a15943554b917f3198f2c6dc78011dd4c'/>
<id>urn:sha1:d355e46a15943554b917f3198f2c6dc78011dd4c</id>
<content type='text'>
Translating the new strings introduced for v2.20 showed some typos.

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 'jc/http-curlver-warnings'</title>
<updated>2018-11-02T15:53:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-02T15:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cd69ec8cde54af1817630331fc441f493866f0d4'/>
<id>urn:sha1:cd69ec8cde54af1817630331fc441f493866f0d4</id>
<content type='text'>
Warning message fix.

* jc/http-curlver-warnings:
  http: give curl version warnings consistently
</content>
</entry>
<entry>
<title>Merge branch 'js/mingw-http-ssl'</title>
<updated>2018-11-02T15:53:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-02T15:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d7b185973201d7263e84e76044ba3f2b37b1e8a3'/>
<id>urn:sha1:d7b185973201d7263e84e76044ba3f2b37b1e8a3</id>
<content type='text'>
On platforms with recent cURL library, http.sslBackend configuration
variable can be used to choose a different SSL backend at runtime.
The Windows port uses this mechanism to switch between OpenSSL and
Secure Channel while talking over the HTTPS protocol.

* js/mingw-http-ssl:
  http: when using Secure Channel, ignore sslCAInfo by default
  http: add support for disabling SSL revocation checks in cURL
  http: add support for selecting SSL backends at runtime
</content>
</entry>
<entry>
<title>http: give curl version warnings consistently</title>
<updated>2018-10-26T02:16:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-10-25T03:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d6b1d3b2d15b2bde48e6e64ba1aa4436a49ca2e2'/>
<id>urn:sha1:d6b1d3b2d15b2bde48e6e64ba1aa4436a49ca2e2</id>
<content type='text'>
When a requested feature cannot be activated because the version of
cURL library used to build Git with is too old, most of the codepaths
give a warning like "$Feature is not supported with cURL &lt; $Version",
marked for l10n.  A few of them, however, did not follow that pattern
and said things like "$Feature is not activated, your curl version is
too old (&gt;= $Version)", and without marking them for l10n.

Update these to match the style of the majority of warnings and mark
them for l10n.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http: when using Secure Channel, ignore sslCAInfo by default</title>
<updated>2018-10-26T02:15:49Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-10-25T18:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b67d40adbbaf4f5c4898001bf062a9fd67e43368'/>
<id>urn:sha1:b67d40adbbaf4f5c4898001bf062a9fd67e43368</id>
<content type='text'>
As of cURL v7.60.0, the Secure Channel backend can use the certificate
bundle provided via `http.sslCAInfo`, but that would override the
Windows Certificate Store. Since this is not desirable by default, let's
tell Git to not ask cURL to use that bundle by default when the `schannel`
backend was configured via `http.sslBackend`, unless
`http.schannelUseSSLCAInfo` overrides this behavior.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http: add support for disabling SSL revocation checks in cURL</title>
<updated>2018-10-26T02:15:49Z</updated>
<author>
<name>Brendan Forster</name>
<email>github@brendanforster.com</email>
</author>
<published>2018-10-25T18:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=93aef7c79beb0bde12f2633423f8edd129eed019'/>
<id>urn:sha1:93aef7c79beb0bde12f2633423f8edd129eed019</id>
<content type='text'>
This adds support for a new http.schannelCheckRevoke config value.

This config value is only used if http.sslBackend is set to "schannel",
which forces cURL to use the Windows Certificate Store when validating
server certificates associated with a remote server.

This config value should only be set to "false" if you are in an
environment where revocation checks are blocked by the network, with
no alternative options.

This is only supported in cURL 7.44 or later.

Note: originally, we wanted to call the config setting
`http.schannel.checkRevoke`. This, however, does not work: the `http.*`
config settings can be limited to specific URLs via `http.&lt;url&gt;.*`
(and this feature would mistake `schannel` for a URL).

Helped by Agustín Martín Barbero.

Signed-off-by: Brendan Forster &lt;github@brendanforster.com&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http: add support for selecting SSL backends at runtime</title>
<updated>2018-10-16T04:24:34Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-10-15T10:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=21084e84a418e0a6c4da72f632c5cd99386bd64b'/>
<id>urn:sha1:21084e84a418e0a6c4da72f632c5cd99386bd64b</id>
<content type='text'>
As of version 7.56.0, curl supports being compiled with multiple SSL
backends.

This patch adds the Git side of that feature: by setting http.sslBackend
to "openssl" or "schannel", Git for Windows can now choose the SSL
backend at runtime.

This comes in handy on Windows because Secure Channel ("schannel") is
the native solution, accessing the Windows Credential Store, thereby
allowing for enterprise-wide management of certificates. For historical
reasons, Git for Windows needs to support OpenSSL still, as it has
previously been the only supported SSL backend in Git for Windows for
almost a decade.

The patch has been carried in Git for Windows for over a year, and is
considered mature.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>convert "hashcmp() != 0" to "!hasheq()"</title>
<updated>2018-08-29T18:32:49Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2018-08-28T21:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=67947c34ae8f666e72b9406a38984fe8386f5e50'/>
<id>urn:sha1:67947c34ae8f666e72b9406a38984fe8386f5e50</id>
<content type='text'>
This rounds out the previous three patches, covering the
inequality logic for the "hash" variant of the functions.

As with the previous three, the accompanying code changes
are the mechanical result of applying the coccinelle patch;
see those patches for more discussion.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)</title>
<updated>2018-08-17T17:08:56Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2018-08-17T13:02:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce528de023f82d767096b0342b6da8039feff7bc'/>
<id>urn:sha1:ce528de023f82d767096b0342b6da8039feff7bc</id>
<content type='text'>
Change the few conditional uses of FREE_AND_NULL(x) to be
unconditional. As noted in the standard[1] free(NULL) is perfectly
valid, so we might as well leave this check up to the C library.

1. http://pubs.opengroup.org/onlinepubs/9699919799/functions/free.html

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bw/remote-curl-compressed-responses'</title>
<updated>2018-05-30T12:51:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-30T12:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=13e8be95dbcf93f84154695b6a1be9718ff9665b'/>
<id>urn:sha1:13e8be95dbcf93f84154695b6a1be9718ff9665b</id>
<content type='text'>
Our HTTP client code used to advertise that we accept gzip encoding
from the other side; instead, just let cURL library to advertise
and negotiate the best one.

* bw/remote-curl-compressed-responses:
  remote-curl: accept compressed responses with protocol v2
  remote-curl: accept all encodings supported by curl
</content>
</entry>
</feed>
