<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http-push.c, branch v1.7.8.2</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.8.2</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.8.2'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2011-12-14T00:34:44Z</updated>
<entry>
<title>http-push: enable "proactive auth"</title>
<updated>2011-12-14T00:34:44Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-12-14T00:11:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=a4ddbc33d7906f0e10c68c140a9a1003d9715a77'/>
<id>urn:sha1:a4ddbc33d7906f0e10c68c140a9a1003d9715a77</id>
<content type='text'>
Before commit 986bbc08, git was proactive about asking for
http passwords. It assumed that if you had a username in
your URL, you would also want a password, and asked for it
before making any http requests.

However, this could interfere with the use of .netrc (see
986bbc08 for details). And it was also unnecessary, since
the http fetching code had learned to recognize an HTTP 401
and prompt the user then. Furthermore, the proactive prompt
could interfere with the usage of .netrc (see 986bbc08 for
details).

Unfortunately, the http push-over-DAV code never learned to
recognize HTTP 401, and so was broken by this change. This
patch does a quick fix of re-enabling the "proactive auth"
strategy only for http-push, leaving the dumb http fetch and
smart-http as-is.

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 'jc/match-refs-clarify'</title>
<updated>2011-10-21T23:04:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-21T23:04:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=470bbbc4dc6a135fd08083c1bd87699ac1b3f742'/>
<id>urn:sha1:470bbbc4dc6a135fd08083c1bd87699ac1b3f742</id>
<content type='text'>
* jc/match-refs-clarify:
  rename "match_refs()" to "match_push_refs()"
  send-pack: typofix error message
</content>
</entry>
<entry>
<title>Merge branch 'jk/http-auth'</title>
<updated>2011-10-18T04:37:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-18T04:37:15Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=963838402a94e7fcbd1a73019f80aff708972af8'/>
<id>urn:sha1:963838402a94e7fcbd1a73019f80aff708972af8</id>
<content type='text'>
* jk/http-auth:
  http_init: accept separate URL parameter
  http: use hostname in credential description
  http: retry authentication failures for all http requests
  remote-curl: don't retry auth failures with dumb protocol
  improve httpd auth tests
  url: decode buffers that are not NUL-terminated
</content>
</entry>
<entry>
<title>http_init: accept separate URL parameter</title>
<updated>2011-10-16T04:18:36Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-10-14T07:40:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=deba49377b717d1e26c342f65c7f5e75a2db8641'/>
<id>urn:sha1:deba49377b717d1e26c342f65c7f5e75a2db8641</id>
<content type='text'>
The http_init function takes a "struct remote". Part of its
initialization procedure is to look at the remote's url and
grab some auth-related parameters. However, using the url
included in the remote is:

  - wrong; the remote-curl helper may have a separate,
    unrelated URL (e.g., from remote.*.pushurl). Looking at
    the remote's configured url is incorrect.

  - incomplete; http-fetch doesn't have a remote, so passes
    NULL. So http_init never gets to see the URL we are
    actually going to use.

  - cumbersome; http-push has a similar problem to
    http-fetch, but actually builds a fake remote just to
    pass in the URL.

Instead, let's just add a separate URL parameter to
http_init, and all three callsites can pass in the
appropriate information.

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 'nd/maint-autofix-tag-in-head'</title>
<updated>2011-10-14T02:03:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-14T02:03:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0fd8cb3fec7abb36505a150fe5cfa9b1d8b85496'/>
<id>urn:sha1:0fd8cb3fec7abb36505a150fe5cfa9b1d8b85496</id>
<content type='text'>
* nd/maint-autofix-tag-in-head:
  Accept tags in HEAD or MERGE_HEAD
  merge: remove global variable head[]
  merge: use return value of resolve_ref() to determine if HEAD is invalid
  merge: keep stash[] a local variable

Conflicts:
	builtin/merge.c
</content>
</entry>
<entry>
<title>Accept tags in HEAD or MERGE_HEAD</title>
<updated>2011-09-18T21:11:40Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2011-09-17T11:57:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=baf18fc261ca475343fe3cb9cd2c0dded4bc1bb7'/>
<id>urn:sha1:baf18fc261ca475343fe3cb9cd2c0dded4bc1bb7</id>
<content type='text'>
HEAD and MERGE_HEAD (among other branch tips) should never hold a
tag. That can only be caused by broken tools and is cumbersome to fix
by an end user with:

  $ git update-ref HEAD $(git rev-parse HEAD^{commit})

which may look like a magic to a new person.

Be easy, warn users (so broken tools can be fixed if they bother to
report) and move on.

Be robust, if the given SHA-1 cannot be resolved to a commit object,
die (therefore return value is always valid).

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>rename "match_refs()" to "match_push_refs()"</title>
<updated>2011-09-12T23:41:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-09-09T18:54:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=29753cddc8007ac63754855d026fe5eca8897d04'/>
<id>urn:sha1:29753cddc8007ac63754855d026fe5eca8897d04</id>
<content type='text'>
Yes, there is a warning that says the function is only used by push in big
red letters in front of this function, but it didn't say a more important
thing it should have said: what the function is for and what it does.

Rename it and document it to avoid future confusion.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>whitespace: have SP on both sides of an assignment "="</title>
<updated>2011-08-25T21:47:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-25T21:46:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=cd2b8ae983a277fb3f3c2b2c6747b0a075af1421'/>
<id>urn:sha1:cd2b8ae983a277fb3f3c2b2c6747b0a075af1421</id>
<content type='text'>
I've deliberately excluded the borrowed code in compat/nedmalloc
directory.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/zlib-wrap' into maint</title>
<updated>2011-08-16T18:23:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-16T18:23:26Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=a35d78c0f483a65ea96c4f0c9a825bf28a386273'/>
<id>urn:sha1:a35d78c0f483a65ea96c4f0c9a825bf28a386273</id>
<content type='text'>
* jc/zlib-wrap:
  zlib: allow feeding more than 4GB in one go
  zlib: zlib can only process 4GB at a time
  zlib: wrap deflateBound() too
  zlib: wrap deflate side of the API
  zlib: wrap inflateInit2 used to accept only for gzip format
  zlib: wrap remaining calls to direct inflate/inflateEnd
  zlib wrapper: refactor error message formatter
</content>
</entry>
<entry>
<title>Merge branch 'jc/zlib-wrap'</title>
<updated>2011-07-19T16:33:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-07-19T16:33:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=eb4f4076aa89d38221ee513a5f28f22124029c90'/>
<id>urn:sha1:eb4f4076aa89d38221ee513a5f28f22124029c90</id>
<content type='text'>
* jc/zlib-wrap:
  zlib: allow feeding more than 4GB in one go
  zlib: zlib can only process 4GB at a time
  zlib: wrap deflateBound() too
  zlib: wrap deflate side of the API
  zlib: wrap inflateInit2 used to accept only for gzip format
  zlib: wrap remaining calls to direct inflate/inflateEnd
  zlib wrapper: refactor error message formatter

Conflicts:
	sha1_file.c
</content>
</entry>
</feed>
