<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitano/libgit2.git/src/refspec.c, branch replace-luagit2</title>
<subtitle>git.gitano.org.uk: libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/'/>
<entry>
<title>refspec: support asterisks in the middle of a pattern</title>
<updated>2014-08-05T00:08:16+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-07-04T15:17:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=f8b4093a72e522731d4956e1d64b668da869e923'/>
<id>f8b4093a72e522731d4956e1d64b668da869e923</id>
<content type='text'>
We used to assume a refspec would only have an asterisk in the middle of
their respective pattern. This has not been a valid assumption for some
time now with git.

Instead of assuming where the asterisk is going to be, change the logic
to treat each pattern as having two halves with a replacement bit in the
middle, where the asterisk is.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We used to assume a refspec would only have an asterisk in the middle of
their respective pattern. This has not been a valid assumption for some
time now with git.

Instead of assuming where the asterisk is going to be, change the logic
to treat each pattern as having two halves with a replacement bit in the
middle, where the asterisk is.
</pre>
</div>
</content>
</entry>
<entry>
<title>refspec: short-circuit non-pattern refspecs on transform</title>
<updated>2014-08-05T00:08:16+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-07-04T15:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=0aa6b7e652a43d65c80e5a54aafc174476a3441c'/>
<id>0aa6b7e652a43d65c80e5a54aafc174476a3441c</id>
<content type='text'>
When transforming a non-pattern refspec, we simply need to copy over the
opposite string. Move that logic up to the wrapper so we can assume a
pattern refspec in the transformation function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When transforming a non-pattern refspec, we simply need to copy over the
opposite string. Move that logic up to the wrapper so we can assume a
pattern refspec in the transformation function.
</pre>
</div>
</content>
</entry>
<entry>
<title>refspec: move to git_buf for outputting strings</title>
<updated>2014-01-27T03:44:06+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-01-26T15:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=bf522e08114a4dc25815b09db201266a0791381c'/>
<id>bf522e08114a4dc25815b09db201266a0791381c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: store dwimed refspecs separately</title>
<updated>2013-11-01T21:48:09+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2013-10-28T22:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=af613ecd445bf0abfda81769e7a2d763413dfd04'/>
<id>af613ecd445bf0abfda81769e7a2d763413dfd04</id>
<content type='text'>
This allows us to add e.g. "HEAD" as a refspec when none are given
without overwriting the user's data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to add e.g. "HEAD" as a refspec when none are given
without overwriting the user's data.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make refspec_transform paranoid about arguments</title>
<updated>2013-07-01T17:21:14+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-07-01T17:21:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=55ededfd398b783fa4fbe54b8aa406c19228fbc6'/>
<id>55ededfd398b783fa4fbe54b8aa406c19228fbc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refspec: add direction accessor</title>
<updated>2013-04-30T08:55:17+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2013-04-30T08:55:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=8d39f2a79067c9551286bb552457db71b88b64d3'/>
<id>8d39f2a79067c9551286bb552457db71b88b64d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse shorthand refspecs as valid</title>
<updated>2013-04-28T12:21:10+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2013-04-28T12:16:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=528a4e24c6671d621847cf8e3121e3c56fe20d3b'/>
<id>528a4e24c6671d621847cf8e3121e3c56fe20d3b</id>
<content type='text'>
Relax the ONELEVEL ref naming rules so the refspec parsing code can
ask for 'master' to be considered valid.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relax the ONELEVEL ref naming rules so the refspec parsing code can
ask for 'master' to be considered valid.
</pre>
</div>
</content>
</entry>
<entry>
<title>refspec: unify the string and parsed data</title>
<updated>2013-04-20T17:45:40+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2013-04-20T17:13:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=1be680c4d0909ee5160292d7b56c4522c4bc309c'/>
<id>1be680c4d0909ee5160292d7b56c4522c4bc309c</id>
<content type='text'>
It used to be separate as an attempt to make the querying easier, but
it didn't work out that way, so put all the data together.

Add git_refspec_string() as well to get the original string, which is
now stored alongside the independent parts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It used to be separate as an attempt to make the querying easier, but
it didn't work out that way, so put all the data together.

Add git_refspec_string() as well to get the original string, which is
now stored alongside the independent parts.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: handle multiple refspecs</title>
<updated>2013-04-20T15:54:13+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2013-04-20T02:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=4330ab26b53c0e1bf8cbb5e65704f65e3d116eba'/>
<id>4330ab26b53c0e1bf8cbb5e65704f65e3d116eba</id>
<content type='text'>
A remote can have a multitude of refspecs. Up to now our git_remote's
have supported a single one for each fetch and push out of simplicity
to get something working.

Let the remotes and internal code know about multiple remotes and get
the tests passing with them.

Instead of setting a refspec, the external users can clear all and add
refspecs. This should be enough for most uses, though we're still
missing a querying function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A remote can have a multitude of refspecs. Up to now our git_remote's
have supported a single one for each fetch and push out of simplicity
to get something working.

Let the remotes and internal code know about multiple remotes and get
the tests passing with them.

Instead of setting a refspec, the external users can clear all and add
refspecs. This should be enough for most uses, though we're still
missing a querying function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach refspec to transform destination reference to source reference</title>
<updated>2013-02-11T16:36:28+00:00</updated>
<author>
<name>Jameson Miller</name>
<email>jamill@microsoft.com</email>
</author>
<published>2013-02-07T19:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=db4bb4158f1005267e8d0e5785cb75487440580a'/>
<id>db4bb4158f1005267e8d0e5785cb75487440580a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
