<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/config, branch hf/libgit2sharp_020_patch</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>tests: use p_ instead of posix func directly</title>
<updated>2014-12-17T20:57:54+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2014-11-26T21:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=18714e88b253592e3d5fac2a5491a52c9b6cc736'/>
<id>18714e88b253592e3d5fac2a5491a52c9b6cc736</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up issues include.path issues found during code review.</title>
<updated>2014-11-03T01:16:49+00:00</updated>
<author>
<name>John Fultz</name>
<email>jfultz@wolfram.com</email>
</author>
<published>2014-11-03T01:16:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ebc13b2b7cfa9c5c7d3f7762666337bb4fd10d10'/>
<id>ebc13b2b7cfa9c5c7d3f7762666337bb4fd10d10</id>
<content type='text'>
* Error-handling is cleaned up to only let a file-not-found error
  through, not other sorts of errors.  And when a file-not-found
  error happens, we clean up the error.
* Test now checks that file-not-found introduces no error.  And
  other minor cleanups.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Error-handling is cleaned up to only let a file-not-found error
  through, not other sorts of errors.  And when a file-not-found
  error happens, we clean up the error.
* Test now checks that file-not-found introduces no error.  And
  other minor cleanups.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make config reading continue after hitting a missing include file.</title>
<updated>2014-11-01T16:21:45+00:00</updated>
<author>
<name>John Fultz</name>
<email>jfultz@wolfram.com</email>
</author>
<published>2014-11-01T16:21:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=727ae380a5de63e7b5856abb1f4dd191e2d5b678'/>
<id>727ae380a5de63e7b5856abb1f4dd191e2d5b678</id>
<content type='text'>
For example, if you have

[include]
path = foo

and foo didn't exist, git_config_open_ondisk() would just give up
on the rest of the file.  Now it ignores the unresolved include
without error and continues reading the rest of the file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For example, if you have

[include]
path = foo

and foo didn't exist, git_config_open_ondisk() would just give up
on the rest of the file.  Now it ignores the unresolved include
without error and continues reading the rest of the file.
</pre>
</div>
</content>
</entry>
<entry>
<title>config test: clean up memory leak</title>
<updated>2014-10-27T02:27:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-10-25T23:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=90aa2bf39b27a9194bd1b4d88efea8f4281d0617'/>
<id>90aa2bf39b27a9194bd1b4d88efea8f4281d0617</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: remove the refresh function and backend field</title>
<updated>2014-10-23T17:05:02+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-10-23T17:05:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=55cb4999720f46eddb97e25e7ddc6ac068dd0bae'/>
<id>55cb4999720f46eddb97e25e7ddc6ac068dd0bae</id>
<content type='text'>
We have been refreshing on read and write for a while now, so
git_config_refresh() is at best a no-op, and might just end up wasting
cycles.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have been refreshing on read and write for a while now, so
git_config_refresh() is at best a no-op, and might just end up wasting
cycles.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the length of the file so that the change is picked up.</title>
<updated>2014-10-23T04:21:29+00:00</updated>
<author>
<name>Alan Rogers</name>
<email>alanjrogers@me.com</email>
</author>
<published>2014-10-20T22:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=1e2fe921a5fc8ad8188b69956179703f10d0a4ad'/>
<id>1e2fe921a5fc8ad8188b69956179703f10d0a4ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test to make sure a new snapshot has the new value.</title>
<updated>2014-10-23T04:21:04+00:00</updated>
<author>
<name>Alan Rogers</name>
<email>alanjrogers@me.com</email>
</author>
<published>2014-10-16T02:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=5490c9d47036c44a255d3177f93664f4e034834b'/>
<id>5490c9d47036c44a255d3177f93664f4e034834b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: Add test cases that have trailing spaces before comment chars</title>
<updated>2014-10-04T15:28:40+00:00</updated>
<author>
<name>Linquize</name>
<email>linquize@yahoo.com.hk</email>
</author>
<published>2014-10-04T15:28:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a447a7e40b03d1c8ecb49ab0ef015eb4c0fd2b6e'/>
<id>a447a7e40b03d1c8ecb49ab0ef015eb4c0fd2b6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: a multiline var can start immediately</title>
<updated>2014-08-09T09:06:49+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-08-09T08:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9dac1f957945f706f3f557ff0b964f3d33d761b4'/>
<id>9dac1f957945f706f3f557ff0b964f3d33d761b4</id>
<content type='text'>
In the check for multiline, we traverse the backslashes from the end
backwards and int the end assert that we haven't gone past the beginning
of the line. We make sure of this in the loop condition, but we also
check in the return value.

However, for certain configurations, a line in a multiline variable
might be empty to aid formatting. In that case, 'end' == 'start', since
we ended up looking at the first char which made it a multiline.

There is no need for the (end &gt; start) check in the return, since the
loop guarantees we won't go further back than the first char in the
line, and we do accept the first char to be the final backslash.

This fixes #2483.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the check for multiline, we traverse the backslashes from the end
backwards and int the end assert that we haven't gone past the beginning
of the line. We make sure of this in the loop condition, but we also
check in the return value.

However, for certain configurations, a line in a multiline variable
might be empty to aid formatting. In that case, 'end' == 'start', since
we ended up looking at the first char which made it a multiline.

There is no need for the (end &gt; start) check in the return, since the
loop guarantees we won't go further back than the first char in the
line, and we do accept the first char to be the final backslash.

This fixes #2483.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit test to test add section without lf at EOF</title>
<updated>2014-07-16T13:54:53+00:00</updated>
<author>
<name>Linquize</name>
<email>linquize@yahoo.com.hk</email>
</author>
<published>2014-07-16T13:54:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=693748694bf3e404d09d7099527ea9f4b105f74c'/>
<id>693748694bf3e404d09d7099527ea9f4b105f74c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
