<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/network/remote/remotes.c, branch rb/minor-cleanups</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>Clean up some leaks in the test suite</title>
<updated>2014-09-17T01:19:40+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-09-17T01:19:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=25abbc27a77895e2f2316ed307b51e628d85f15c'/>
<id>25abbc27a77895e2f2316ed307b51e628d85f15c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2511 from libgit2/cmn/remote-default-restrict</title>
<updated>2014-09-09T10:52:36+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-09-09T10:52:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=31e752b6546537bbeee89b6d2f3027cf0eff9a53'/>
<id>31e752b6546537bbeee89b6d2f3027cf0eff9a53</id>
<content type='text'>
Restrict which refs can be the default branch</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restrict which refs can be the default branch</pre>
</div>
</content>
</entry>
<entry>
<title>clone: handle overly restrictive refspecs</title>
<updated>2014-09-02T11:23:54+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-09-02T11:23:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=15c30b72e16528bdf71c0343e4d238600c0df7a1'/>
<id>15c30b72e16528bdf71c0343e4d238600c0df7a1</id>
<content type='text'>
When the fetch refspec does not include the remote's default branch, it
indicates an error in user expectations or programmer error. Error out
in that case.

This lets us get rid of the dummy refspec which can never work as its
zeroed out. In the cases where we did not find a default branch, we set
HEAD detached immediately, which lets us refactor the "normal" path,
removing `found_branch`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the fetch refspec does not include the remote's default branch, it
indicates an error in user expectations or programmer error. Error out
in that case.

This lets us get rid of the dummy refspec which can never work as its
zeroed out. In the cases where we did not find a default branch, we set
HEAD detached immediately, which lets us refactor the "normal" path,
removing `found_branch`.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: add test for single-branch clone</title>
<updated>2014-09-02T10:47:12+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-09-01T14:35:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=538f908175a0912e0119f0ea8935e2d2b2dc416c'/>
<id>538f908175a0912e0119f0ea8935e2d2b2dc416c</id>
<content type='text'>
When cloning, we may be asking for a particular branch or subset of
branches. Make sure we test for that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When cloning, we may be asking for a particular branch or subset of
branches. Make sure we test for that.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: test for supported URLs in a single place</title>
<updated>2014-08-31T19:53:42+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-08-31T19:53:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=05ac70514fed0ae75ba2844f22b233da1c25b8cc'/>
<id>05ac70514fed0ae75ba2844f22b233da1c25b8cc</id>
<content type='text'>
Instead of using ifdefs to run the tests, use them to set when we expect
to support a particular scheme and always have the tests in the code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using ifdefs to run the tests, use them to set when we expect
to support a particular scheme and always have the tests in the code.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: get rid of git_remote_valid_url()</title>
<updated>2014-08-31T19:50:28+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-08-31T15:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ba67c0752269ba06523fe7f5fa350e6328b20241'/>
<id>ba67c0752269ba06523fe7f5fa350e6328b20241</id>
<content type='text'>
It does the same as git_remote_supported_url() but has a name which
implies we'd check the URL for correctness while we're simply looking at
the scheme and looking it up in our lists.

While here, fix up the tests so we check all the combination of what's
supported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It does the same as git_remote_supported_url() but has a name which
implies we'd check the URL for correctness while we're simply looking at
the scheme and looking it up in our lists.

While here, fix up the tests so we check all the combination of what's
supported.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements to git_transport extensibility</title>
<updated>2014-06-27T02:34:37+00:00</updated>
<author>
<name>Philip Kelley</name>
<email>phkelley@hotmail.com</email>
</author>
<published>2014-06-25T17:20:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=1697cd6ff5d29c95106ff4b7bd56ebba5d51b8c1'/>
<id>1697cd6ff5d29c95106ff4b7bd56ebba5d51b8c1</id>
<content type='text'>
git_remote_set_transport now takes a transport factory rather than a transport
git_clone_options now allows the caller to specify a remote creation callback
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git_remote_set_transport now takes a transport factory rather than a transport
git_clone_options now allows the caller to specify a remote creation callback
</pre>
</div>
</content>
</entry>
<entry>
<title>Remote: Set an error when a remote cannot be found.</title>
<updated>2014-05-30T17:26:49+00:00</updated>
<author>
<name>Arthur Schreiber</name>
<email>schreiber.arthur@googlemail.com</email>
</author>
<published>2014-05-30T17:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d723dbed0c46ddb2fb037c63cc13a6131c3824b8'/>
<id>d723dbed0c46ddb2fb037c63cc13a6131c3824b8</id>
<content type='text'>
Inside `git_remote_load`, the calls to `get_optional_config` use
`giterr_clear` to unset any errors that are set due to missing config
keys. If neither a fetch nor a push url config was found for a remote,
we should set an error again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inside `git_remote_load`, the calls to `get_optional_config` use
`giterr_clear` to unset any errors that are set due to missing config
keys. If neither a fetch nor a push url config was found for a remote,
we should set an error again.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: rename inmemory to anonymous and swap url and fetch order</title>
<updated>2014-04-01T11:38:04+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-03-26T10:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fd536d29c127648abb2ce5f6f619135ce69b9800'/>
<id>fd536d29c127648abb2ce5f6f619135ce69b9800</id>
<content type='text'>
The order in this function is the opposite to what
create_with_fetchspec() has, so change this one, as url-then-refspec is
what git does.

As we need to break compilation and the swap doesn't do that, let's take
this opportunity to rename in-memory remotes to anonymous as that's
really what sets them apart.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The order in this function is the opposite to what
create_with_fetchspec() has, so change this one, as url-then-refspec is
what git does.

As we need to break compilation and the swap doesn't do that, let's take
this opportunity to rename in-memory remotes to anonymous as that's
really what sets them apart.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't strcmp a git_buf, strcmp its char *</title>
<updated>2014-01-29T20:50:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2014-01-29T20:50:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=96f12e709b60e2d570c804c49a6364e94fd0e4b0'/>
<id>96f12e709b60e2d570c804c49a6364e94fd0e4b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
