<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http-push.c, branch v1.6.3.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.3.1</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.3.1'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-04-12T05:21:59Z</updated>
<entry>
<title>Replace ",&lt;,&gt;,&amp; with their respective XML entities in DAV requests</title>
<updated>2009-04-12T05:21:59Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2009-04-09T22:25:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=519d05be9015871e422cd16ebced620cb01f8b3c'/>
<id>urn:sha1:519d05be9015871e422cd16ebced620cb01f8b3c</id>
<content type='text'>
If the repo url or the user email contain XML special characters, the
remote DAV server is likely to reject the LOCK requests because the XML
is then malformed.

Signed-off-by: Mike Hommey &lt;mh@glandium.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ms/http-auth'</title>
<updated>2009-04-08T05:33:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-08T05:33:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=fe42fe4bcaaf262082a982e43bca1d8cac5a706d'/>
<id>urn:sha1:fe42fe4bcaaf262082a982e43bca1d8cac5a706d</id>
<content type='text'>
* ms/http-auth:
  Allow curl to rewind the read buffers
</content>
</entry>
<entry>
<title>Merge branch 'jc/shared-literally'</title>
<updated>2009-04-06T07:42:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-06T07:42:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=03a39a91842cf745e5fc27dbd6485aad44d839a4'/>
<id>urn:sha1:03a39a91842cf745e5fc27dbd6485aad44d839a4</id>
<content type='text'>
* jc/shared-literally:
  t1301: loosen test for forced modes
  set_shared_perm(): sometimes we know what the final mode bits should look like
  move_temp_to_file(): do not forget to chmod() in "Coda hack" codepath
  Move chmod(foo, 0444) into move_temp_to_file()
  "core.sharedrepository = 0mode" should set, not loosen
</content>
</entry>
<entry>
<title>Allow curl to rewind the read buffers</title>
<updated>2009-04-02T20:04:07Z</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2009-04-01T16:48:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3944ba0cb0ef5119dc9d1708c572855fca88fc43'/>
<id>urn:sha1:3944ba0cb0ef5119dc9d1708c572855fca88fc43</id>
<content type='text'>
When using multi-pass authentication methods, the curl library may
need to rewind the read buffers (depending on how much already has
been fed to the server) used for providing data to HTTP PUT, POST or
PROPFIND, and in order to allow the library to do so, we need to tell
it how by providing either an ioctl callback or a seek callback.

This patch adds an ioctl callback, which should be usable on older
curl versions (since 7.12.3) than the seek callback (introduced in
curl 7.18.0).

Some HTTP servers (such as Apache) give an 401 error reply immediately
after receiving the headers (so no data has been read from the read
buffers, and thus no rewinding is needed), but other servers (such
as Lighttpd) only replies after the whole request has been sent and
all data has been read from the read buffers, making rewinding necessary.

Signed-off-by: Martin Storsjo &lt;martin@martin.st&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Move chmod(foo, 0444) into move_temp_to_file()</title>
<updated>2009-03-28T05:10:58Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2009-03-26T15:16:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=fb8b193670b0c11d118185332efc899d6d01d5f4'/>
<id>urn:sha1:fb8b193670b0c11d118185332efc899d6d01d5f4</id>
<content type='text'>
When writing out a loose object or a pack (index), move_temp_to_file() is
called to finalize the resulting file. These files (loose files and packs)
should all have permission mode 0444 (modulo adjust_shared_perm()).
Therefore, instead of doing chmod(foo, 0444) explicitly from each callsite
(or even forgetting to chmod() at all), do the chmod() call from within
move_temp_to_file().

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mg/http-auth'</title>
<updated>2009-03-26T07:27:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-26T07:27:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=6422c6af38747f008ebffc106f9a5799b26091d0'/>
<id>urn:sha1:6422c6af38747f008ebffc106f9a5799b26091d0</id>
<content type='text'>
* mg/http-auth:
  http-push.c: use a faux remote to pass to http_init
  Do not name "repo" struct "remote" in push_http.c
  http.c: CURLOPT_NETRC_OPTIONAL is not available in ancient versions of cURL
  http authentication via prompts
  http_init(): Fix config file parsing
  http.c: style cleanups

Conflicts:
	http-push.c
</content>
</entry>
<entry>
<title>http-push: using error() and warning() as appropriate</title>
<updated>2009-03-24T04:02:21Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2009-03-24T01:09:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d5c87cb4ffc411fc12dbc261af3ed29633e49fba'/>
<id>urn:sha1:d5c87cb4ffc411fc12dbc261af3ed29633e49fba</id>
<content type='text'>
Change three occurences of using inconsistent error/warning reporting by
using the relevant error() / warning() calls to be consitent with the
rest of the code.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http-push.c: use a faux remote to pass to http_init</title>
<updated>2009-03-19T10:28:18Z</updated>
<author>
<name>Amos King</name>
<email>amos.l.king@gmail.com</email>
</author>
<published>2009-03-18T23:46:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=44d808c238f0817fc3ae7caea8f3b625b6180e37'/>
<id>urn:sha1:44d808c238f0817fc3ae7caea8f3b625b6180e37</id>
<content type='text'>
This patch allows http_push to use http authentication via prompts.
You may notice that there is a remote struct that only contains the
url from the repo struct.  This struct is a temporary fix for a larger
issue, but gets http authentication via prompts out the door, and
keeps users from having to store passwords in plain text files.

Signed-off-by: Amos King &lt;amos.l.king@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Do not name "repo" struct "remote" in push_http.c</title>
<updated>2009-03-19T10:03:31Z</updated>
<author>
<name>Amos King</name>
<email>amos.l.king@gmail.com</email>
</author>
<published>2009-03-18T23:43:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7b5201a60d8f00e7026a3fc4cfdd7852caa9882f'/>
<id>urn:sha1:7b5201a60d8f00e7026a3fc4cfdd7852caa9882f</id>
<content type='text'>
This patch is a first step in getting http-push to use http authentication
via prompts.  The patch renames remote to repo so that it doesn't get
confusing with the same remote that is passed around when using http.

Signed-off-by: Amos King &lt;amos.l.king@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/remote-improvements'</title>
<updated>2009-03-18T01:55:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-18T01:55:06Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ca8a36e6e0cf6ee952df16160bc853630c56b997'/>
<id>urn:sha1:ca8a36e6e0cf6ee952df16160bc853630c56b997</id>
<content type='text'>
* js/remote-improvements: (23 commits)
  builtin-remote.c: no "commented out" code, please
  builtin-remote: new show output style for push refspecs
  builtin-remote: new show output style
  remote: make guess_remote_head() use exact HEAD lookup if it is available
  builtin-remote: add set-head subcommand
  builtin-remote: teach show to display remote HEAD
  builtin-remote: fix two inconsistencies in the output of "show &lt;remote&gt;"
  builtin-remote: make get_remote_ref_states() always populate states.tracked
  builtin-remote: rename variables and eliminate redundant function call
  builtin-remote: remove unused code in get_ref_states
  builtin-remote: refactor duplicated cleanup code
  string-list: new for_each_string_list() function
  remote: make match_refs() not short-circuit
  remote: make match_refs() copy src ref before assigning to peer_ref
  remote: let guess_remote_head() optionally return all matches
  remote: make copy_ref() perform a deep copy
  remote: simplify guess_remote_head()
  move locate_head() to remote.c
  move duplicated ref_newer() to remote.c
  move duplicated get_local_heads() to remote.c
  ...

Conflicts:
	builtin-clone.c
</content>
</entry>
</feed>
