<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http-push.c, branch v1.7.0.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.0.5</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.0.5'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-11-23T06:56:54Z</updated>
<entry>
<title>Disable CURLOPT_NOBODY before enabling CURLOPT_PUT and CURLOPT_POST</title>
<updated>2009-11-23T06:56:54Z</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2009-11-23T03:03:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d21f9794ceff7d89fd2fc44a3e5ff106d5dbd141'/>
<id>urn:sha1:d21f9794ceff7d89fd2fc44a3e5ff106d5dbd141</id>
<content type='text'>
This works around a bug in curl versions up to 7.19.4, where disabling the
CURLOPT_NOBODY option sets the internal state incorrectly considering that
CURLOPT_PUT was enabled earlier.

The bug is discussed at http://curl.haxx.se/bug/view.cgi?id=2727981 and is
corrected in the latest version of curl in CVS.

This bug usually has no impact on git, but may surface if using multi-pass
authentication methods.

Signed-off-by: Martin Storsjo &lt;martin@martin.st&gt;
Signed-off-by: Tay Ray Chuan &lt;rctay89@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sp/smart-http'</title>
<updated>2009-11-21T07:51:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-11-21T07:51:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=905bf7742cf5f4a6dea2e75ba2dbd89d5dfaa793'/>
<id>urn:sha1:905bf7742cf5f4a6dea2e75ba2dbd89d5dfaa793</id>
<content type='text'>
* sp/smart-http: (37 commits)
  http-backend: Let gcc check the format of more printf-type functions.
  http-backend: Fix access beyond end of string.
  http-backend: Fix bad treatment of uintmax_t in Content-Length
  t5551-http-fetch: Work around broken Accept header in libcurl
  t5551-http-fetch: Work around some libcurl versions
  http-backend: Protect GIT_PROJECT_ROOT from /../ requests
  Git-aware CGI to provide dumb HTTP transport
  http-backend: Test configuration options
  http-backend: Use http.getanyfile to disable dumb HTTP serving
  test smart http fetch and push
  http tests: use /dumb/ URL prefix
  set httpd port before sourcing lib-httpd
  t5540-http-push: remove redundant fetches
  Smart HTTP fetch: gzip requests
  Smart fetch over HTTP: client side
  Smart push over HTTP: client side
  Discover refs via smart HTTP server when available
  http-backend: more explict LocationMatch
  http-backend: add example for gitweb on same URL
  http-backend: use mod_alias instead of mod_rewrite
  ...

Conflicts:
	.gitignore
	remote-curl.c
</content>
</entry>
<entry>
<title>Show usage string for 'git http-push -h'</title>
<updated>2009-11-10T19:59:51Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2009-11-09T10:47:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=548d3464dc446db58a8fc8f7a8cc6cfb2d683faa'/>
<id>urn:sha1:548d3464dc446db58a8fc8f7a8cc6cfb2d683faa</id>
<content type='text'>
http-push already knows how to dump usage if it is given no options, but
it interprets '-h' as the URL to a remote repository:

    $ git http-push -h
    error: Cannot access URL -h/, return code 6

Dump usage instead.  Humans wanting to pass the URL -h/ to curl for some
reason can use 'git http-push -h/' explicitly.  Scripts expecting to
access an HTTP repository at URL '-h' will break, though.

Also delay finding a git directory until after option parsing, so
"http-push -h" can be used outside any git repository.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Acked-by: Tay Ray Chuan &lt;rctay89@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Move WebDAV HTTP push under remote-curl</title>
<updated>2009-10-31T02:20:54Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2009-10-31T00:47:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ae4efe195752c27cb25fca9451852c0f4eebdb28'/>
<id>urn:sha1:ae4efe195752c27cb25fca9451852c0f4eebdb28</id>
<content type='text'>
The remote helper interface now supports the push capability,
which can be used to ask the implementation to push one or more
specs to the remote repository.  For remote-curl we implement this
by calling the existing WebDAV based git-http-push executable.

Internally the helper interface uses the push_refs transport hook
so that the complexity of the refspec parsing and matching can be
reused between remote implementations.  When possible however the
helper protocol uses source ref name rather than the source SHA-1,
thereby allowing the helper to access this name if it is useful.

&gt;From Clemens Buchacher &lt;drizzd@aon.at&gt;:
 update http tests according to remote-curl capabilities

 o Pushing packed refs is now fixed.

 o The transport helper fails if refs are already up-to-date. Add
   a test for that.

 o The transport helper will notice if refs are already
   up-to-date. We therefore need to update server info in the
   unpacked-refs test.

 o The transport helper will purge deleted branches automatically.

 o Use a variable ($ORIG_HEAD) instead of full SHA-1 name.

Signed-off-by: Tay Ray Chuan &lt;rctay89@gmail.com&gt;
Signed-off-by: Clemens Buchacher &lt;drizzd@aon.at&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
CC: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
CC: Mike Hommey &lt;mh@glandium.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http-push: fix check condition on http.c::finish_http_pack_request()</title>
<updated>2009-10-31T02:20:53Z</updated>
<author>
<name>Tay Ray Chuan</name>
<email>rctay89@gmail.com</email>
</author>
<published>2009-10-31T00:47:20Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=609621a4ad8144e56df6e5f811eb037661967f49'/>
<id>urn:sha1:609621a4ad8144e56df6e5f811eb037661967f49</id>
<content type='text'>
Check that http.c::finish_http_pack_request() returns 0 (for success).

Signed-off-by: Tay Ray Chuan &lt;rctay89@gmail.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http-push: fix xml_entities() string parsing overrun</title>
<updated>2009-07-06T16:36:08Z</updated>
<author>
<name>Hunter, D. Seth</name>
<email>hunter@ll.mit.edu</email>
</author>
<published>2009-07-01T00:24:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c8400d9ef57dc68925d93d0cb9f1777396b380e2'/>
<id>urn:sha1:c8400d9ef57dc68925d93d0cb9f1777396b380e2</id>
<content type='text'>
xml_entities() in http-push.c did not properly stop at the end of the
string being examined, which would occasionally cause nonsense to be
appended to escaped URL strings and result in failed DAV XML queries

Signed-off-by: Seth Hunter &lt;hunter@ll.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix various sparse warnings in the git source code</title>
<updated>2009-06-21T04:52:55Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-06-18T17:28:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2af202be3d2f128c6974290cabe13179c6462196'/>
<id>urn:sha1:2af202be3d2f128c6974290cabe13179c6462196</id>
<content type='text'>
There are a few remaining ones, but this fixes the trivial ones. It boils
down to two main issues that sparse complains about:

 - warning: Using plain integer as NULL pointer

   Sparse doesn't like you using '0' instead of 'NULL'. For various good
   reasons, not the least of which is just the visual confusion. A NULL
   pointer is not an integer, and that whole "0 works as NULL" is a
   historical accident and not very pretty.

   A few of these remain: zlib is a total mess, and Z_NULL is just a 0.
   I didn't touch those.

 - warning: symbol 'xyz' was not declared. Should it be static?

   Sparse wants to see declarations for any functions you export. A lack
   of a declaration tends to mean that you should either add one, or you
   should mark the function 'static' to show that it's in file scope.

   A few of these remain: I only did the ones that should obviously just
   be made static.

That 'wt_status_submodule_summary' one is debatable. It has a few related
flags (like 'wt_status_use_color') which _are_ declared, and are used by
builtin-commit.c. So maybe we'd like to export it at some point, but it's
not declared now, and not used outside of that file, so 'static' it is in
this patch.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rc/http-push'</title>
<updated>2009-06-13T19:53:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-13T19:53:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e2486193c54e5404bad1748d220f58a414867797'/>
<id>urn:sha1:e2486193c54e5404bad1748d220f58a414867797</id>
<content type='text'>
* rc/http-push: (22 commits)
  http*: add helper methods for fetching objects (loose)
  http*: add helper methods for fetching packs
  http: use new http API in fetch_index()
  http*: add http_get_info_packs
  http-push.c::fetch_symref(): use the new http API
  http-push.c::remote_exists(): use the new http API
  http.c::http_fetch_ref(): use the new http API
  transport.c::get_refs_via_curl(): use the new http API
  http.c: new functions for the http API
  http: create function end_url_with_slash
  http*: move common variables and macros to http.[ch]
  transport.c::get_refs_via_curl(): do not leak refs_url
  Don't expect verify_pack() callers to set pack_size
  http-push: do not SEGV after fetching a bad pack idx file
  http*: copy string returned by sha1_to_hex
  http-walker: verify remote packs
  http-push, http-walker: style fixes
  t5550-http-fetch: test fetching of packed objects
  http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"
  http-push: send out fetch requests on queue
  ...
</content>
</entry>
<entry>
<title>Merge branch 'rc/maint-http-local-slot-fix'</title>
<updated>2009-06-13T19:51:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-13T19:51:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=fa71e80525d36ecd911bd0aca87ceb515babd1e9'/>
<id>urn:sha1:fa71e80525d36ecd911bd0aca87ceb515babd1e9</id>
<content type='text'>
* rc/maint-http-local-slot-fix:
  http*: cleanup slot-&gt;local after fclose
</content>
</entry>
<entry>
<title>Merge branch 'cb/match_refs_internal_tail'</title>
<updated>2009-06-13T19:47:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-13T19:47:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=57c57a97e1b5b8607fa7c8fae8b0cf20706cc453'/>
<id>urn:sha1:57c57a97e1b5b8607fa7c8fae8b0cf20706cc453</id>
<content type='text'>
* cb/match_refs_internal_tail:
  match_refs: search ref list tail internally
</content>
</entry>
</feed>
