<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http.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>2018-01-05T21:28:10Z</updated>
<entry>
<title>Merge branch 'rs/use-argv-array-in-child-process'</title>
<updated>2018-01-05T21:28:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-01-05T21:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0956eaa621c98453cda9c9fd55d35d97ddfd3ac6'/>
<id>urn:sha1:0956eaa621c98453cda9c9fd55d35d97ddfd3ac6</id>
<content type='text'>
Code cleanup.

* rs/use-argv-array-in-child-process:
  send-pack: use internal argv_array of struct child_process
  http: use internal argv_array of struct child_process
</content>
</entry>
<entry>
<title>Merge branch 'ws/curl-http-proxy-over-https'</title>
<updated>2017-12-28T22:08:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-28T22:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fc4a226bf60be67bc3d574aeafe06d266f700d99'/>
<id>urn:sha1:fc4a226bf60be67bc3d574aeafe06d266f700d99</id>
<content type='text'>
Git has been taught to support an https:// URL used for http.proxy
when using recent versions of libcurl.

* ws/curl-http-proxy-over-https:
  http: support CURLPROXY_HTTPS
</content>
</entry>
<entry>
<title>http: use internal argv_array of struct child_process</title>
<updated>2017-12-22T21:33:48Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-12-22T11:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7191fa51011f9ae03686269a16ce0c03e97afec'/>
<id>urn:sha1:c7191fa51011f9ae03686269a16ce0c03e97afec</id>
<content type='text'>
Avoid a strangely magic array size (it's slightly too big) and explicit
index numbers by building the command line for index-pack using the
embedded argv_array of the child_process.  Add the flag -o and its
argument with argv_array_pushl() to make it obvious that they belong
together.  The resulting code is shorter and easier to extend.

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>http: support CURLPROXY_HTTPS</title>
<updated>2017-12-19T18:20:14Z</updated>
<author>
<name>Wei Shuyu</name>
<email>wsy@dogben.com</email>
</author>
<published>2017-12-19T17:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82b6803aeec62489977b98804b0a18396d3c6ebf'/>
<id>urn:sha1:82b6803aeec62489977b98804b0a18396d3c6ebf</id>
<content type='text'>
HTTP proxy over SSL is supported by curl since 7.52.0.
This is very useful for networks with protocol whitelist.

Signed-off-by: Wei Shuyu &lt;wsy@dogben.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bw/protocol-v1'</title>
<updated>2017-12-06T17:23:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-06T17:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4c6dad0059b2b5d1ea996ccf67f93224955b07b4'/>
<id>urn:sha1:4c6dad0059b2b5d1ea996ccf67f93224955b07b4</id>
<content type='text'>
A new mechanism to upgrade the wire protocol in place is proposed
and demonstrated that it works with the older versions of Git
without harming them.

* bw/protocol-v1:
  Documentation: document Extra Parameters
  ssh: introduce a 'simple' ssh variant
  i5700: add interop test for protocol transition
  http: tell server that the client understands v1
  connect: tell server that the client understands v1
  connect: teach client to recognize v1 server response
  upload-pack, receive-pack: introduce protocol version 1
  daemon: recognize hidden request arguments
  protocol: introduce protocol extension mechanisms
  pkt-line: add packet_write function
  connect: in ref advertisement, shallows are last
</content>
</entry>
<entry>
<title>http: tell server that the client understands v1</title>
<updated>2017-10-17T01:51:29Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-10-16T17:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=19113a26b667527dc983920bf526b5c938d475bb'/>
<id>urn:sha1:19113a26b667527dc983920bf526b5c938d475bb</id>
<content type='text'>
Tell a server that protocol v1 can be used by sending the http header
'Git-Protocol' with 'version=1' indicating this.

Also teach the apache http server to pass through the 'Git-Protocol'
header as an environment variable 'GIT_PROTOCOL'.

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>curl_trace(): eliminate switch fallthrough</title>
<updated>2017-09-22T03:49:55Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-09-21T06:23:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d0e9983980a25e0c398cc03342e5ad22ef85b8a8'/>
<id>urn:sha1:d0e9983980a25e0c398cc03342e5ad22ef85b8a8</id>
<content type='text'>
Our trace handler is called by curl with a curl_infotype
variable to interpret its data field. For most types we
print the data and then break out of the switch. But for
CURLINFO_TEXT, we print data and then fall through to the
"default" case, which does the exact same thing (nothing!)
that breaking out of the switch would.

This is probably a leftover from an early iteration of the
patch where the code after the switch _did_ do something
interesting that was unique to the non-text case arms.
But in its current form, this fallthrough is merely
confusing (and causes gcc's -Wimplicit-fallthrough to
complain).

Let's make CURLINFO_TEXT like the other case arms, and push
the default arm to the end where it's more obviously a
catch-all.

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>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>Merge branch 'tc/curl-with-backports'</title>
<updated>2017-08-24T17:20:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-24T17:20:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6ea13d88456c116b14c3bc756993b5f462c981cb'/>
<id>urn:sha1:6ea13d88456c116b14c3bc756993b5f462c981cb</id>
<content type='text'>
Updates to the HTTP layer we made recently unconditionally used
features of libCurl without checking the existence of them, causing
compilation errors, which has been fixed.  Also migrate the code to
check feature macros, not version numbers, to cope better with
libCurl that vendor ships with backported features.

* tc/curl-with-backports:
  http: use a feature check to enable GSSAPI delegation control
  http: fix handling of missing CURLPROTO_*
</content>
</entry>
<entry>
<title>pack: move pack name-related 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:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f39cd821d1756f5f6d145f987576660136931ee'/>
<id>urn:sha1:4f39cd821d1756f5f6d145f987576660136931ee</id>
<content type='text'>
Currently, sha1_file.c and cache.h contain many functions, both related
to and unrelated to packfiles. This makes both files very large and
causes an unclear separation of concerns.

Create a new file, packfile.c, to hold all packfile-related functions
currently in sha1_file.c. It has a corresponding header packfile.h.

In this commit, the pack name-related functions are moved. Subsequent
commits will move the other functions.

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