<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch cmn/fetch-prune</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>Update CHANGELOG for pruning</title>
<updated>2014-12-30T17:06:04+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-30T17:06:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=8aba3d47cf96e24e02601175f900f0e851077c1a'/>
<id>8aba3d47cf96e24e02601175f900f0e851077c1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: plug leaks in the prune tests</title>
<updated>2014-12-14T20:52:27+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T20:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=4adc64a81ae4d1ddb32c3232f04255f5b96d1971'/>
<id>4adc64a81ae4d1ddb32c3232f04255f5b96d1971</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: remove the prune setter</title>
<updated>2014-12-14T20:52:27+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T20:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=26186b155baf614bcea789d06e17fe7eb13715fe'/>
<id>26186b155baf614bcea789d06e17fe7eb13715fe</id>
<content type='text'>
This option does not get persisted to disk, which makes it different
from the rest of the setters. Remove it until we go all the way.

We still respect the configuration option, and it's still possible to
perform a one-time prune by calling the function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option does not get persisted to disk, which makes it different
from the rest of the setters. Remove it until we go all the way.

We still respect the configuration option, and it's still possible to
perform a one-time prune by calling the function.
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: add test for the other order of overlapping specs</title>
<updated>2014-12-14T20:25:08+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T19:40:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=7b6e1e4cc668e0c9774d8149bdddd10ac7deeed5'/>
<id>7b6e1e4cc668e0c9774d8149bdddd10ac7deeed5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: perform prune in separate steps</title>
<updated>2014-12-14T20:25:08+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T17:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=59ff8b679007fb7c50c1db713b666ad7d6cadca8'/>
<id>59ff8b679007fb7c50c1db713b666ad7d6cadca8</id>
<content type='text'>
For each remote-tracking branch we want to remove, we need to consider
it against every other refspec in case we have overlapping refspecs,
such as with

    refs/heads/*:refs/remotes/origin/*
    refs/pull/*/head:refs/remotes/origin/pr/*

as we'd otherwise remove too many refspecs.

Create a list of condidates, which are the references matching the rhs
of any active refspec and then filter that list by removing those
entries for which we find a remove reference with any active
refspec. Those which are left after this are removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For each remote-tracking branch we want to remove, we need to consider
it against every other refspec in case we have overlapping refspecs,
such as with

    refs/heads/*:refs/remotes/origin/*
    refs/pull/*/head:refs/remotes/origin/pr/*

as we'd otherwise remove too many refspecs.

Create a list of condidates, which are the references matching the rhs
of any active refspec and then filter that list by removing those
entries for which we find a remove reference with any active
refspec. Those which are left after this are removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: prune after updating tips</title>
<updated>2014-12-14T16:04:02+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T16:00:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=8c13eaedbb85a9f9211559a657c955d93f4af5de'/>
<id>8c13eaedbb85a9f9211559a657c955d93f4af5de</id>
<content type='text'>
This makes a fetch+prune more similar to a connect+prune and makes it
more likely that we see errors in the decision to prune a reference.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes a fetch+prune more similar to a connect+prune and makes it
more likely that we see errors in the decision to prune a reference.
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: assert we don't call update tips when there are no upates</title>
<updated>2014-12-14T16:04:02+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T15:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=4aa23369660726479f2c3e4cbee2cd51497ad00b'/>
<id>4aa23369660726479f2c3e4cbee2cd51497ad00b</id>
<content type='text'>
This is hiding a bug in the prune code, whereby we prune references we
shouldn't but don't notice it in the code afterwards because
update_tips() recreates them.

This means that we do perform changes to the references (and get rid of
the reflogs) when we shouldn't.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is hiding a bug in the prune code, whereby we prune references we
shouldn't but don't notice it in the code afterwards because
update_tips() recreates them.

This means that we do perform changes to the references (and get rid of
the reflogs) when we shouldn't.
</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: do set prune when testing</title>
<updated>2014-12-14T16:04:02+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-14T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=020aab9308fe30a9e7c9930514e4a5203981427e'/>
<id>020aab9308fe30a9e7c9930514e4a5203981427e</id>
<content type='text'>
We load the remote again, so we need to ask the new remote to prune the
refs, or we're not exercising the code in our tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We load the remote again, so we need to ask the new remote to prune the
refs, or we're not exercising the code in our tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure that `fetch --prune --tags` doesn't remove tags.</title>
<updated>2014-12-14T16:04:02+00:00</updated>
<author>
<name>David Calavera</name>
<email>david.calavera@gmail.com</email>
</author>
<published>2014-11-13T19:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=5e0c3d2d1a57f0a3764bdb1dc0ddb07e96f4b127'/>
<id>5e0c3d2d1a57f0a3764bdb1dc0ddb07e96f4b127</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup repository after prune tests.</title>
<updated>2014-12-14T16:04:02+00:00</updated>
<author>
<name>David Calavera</name>
<email>david.calavera@gmail.com</email>
</author>
<published>2014-11-13T17:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=b91194e8426899980b9af5be42c48ba0d89eff96'/>
<id>b91194e8426899980b9af5be42c48ba0d89eff96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
