<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/config, branch ethomson/annotated_commit_refs</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>leaks: fix some leaks in the tests</title>
<updated>2016-03-31T14:41:33+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-03-30T21:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=17442b28f9ba2dfa0fb596fe66c3a35847a8f606'/>
<id>17442b28f9ba2dfa0fb596fe66c3a35847a8f606</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 #3712 from ethomson/config_duplicate_section</title>
<updated>2016-03-29T10:26:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2016-03-29T10:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=2f0450f4d635358f6da5d174c128b9ed1059bbf8'/>
<id>2f0450f4d635358f6da5d174c128b9ed1059bbf8</id>
<content type='text'>
config: don't write duplicate section</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
config: don't write duplicate section</pre>
</div>
</content>
</entry>
<entry>
<title>config::write::repeated: init our buffer</title>
<updated>2016-03-28T15:56:13+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-03-28T15:56:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=76e1a679eab9964c2857ead896e170cacb0cef1d'/>
<id>76e1a679eab9964c2857ead896e170cacb0cef1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: show we write a spurious duplicated section header</title>
<updated>2016-03-28T14:47:14+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-04T13:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3e95bd36d91cca0f3b1c209cc4f677125c02d442'/>
<id>3e95bd36d91cca0f3b1c209cc4f677125c02d442</id>
<content type='text'>
We should notice that we are in the correct section to add. This is a
cosmetic bug, since replacing any of these settings does work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should notice that we are in the correct section to add. This is a
cosmetic bug, since replacing any of these settings does work.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: don't special-case multivars that don't exist yet</title>
<updated>2016-03-21T21:25:12+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-21T20:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=6f09911c0f50b32a89953b163f8fe249c8c83746'/>
<id>6f09911c0f50b32a89953b163f8fe249c8c83746</id>
<content type='text'>
This special-casing ignores that we might have a locked file, so the
hashtable does not represent the contents of the file we want to
write. This causes multivar writes to overwrite entries instead of add
to them when under lock.

There is no need for this as the normal code-path will write to the file
just fine, so simply get rid of it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This special-casing ignores that we might have a locked file, so the
hashtable does not represent the contents of the file we want to
write. This causes multivar writes to overwrite entries instead of add
to them when under lock.

There is no need for this as the normal code-path will write to the file
just fine, so simply get rid of it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: config::stress: free `git_config` structs</title>
<updated>2015-11-24T14:21:52+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2015-11-24T13:38:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9031be180b67b50a14cacae7ff9a8b5216ca1e8a'/>
<id>9031be180b67b50a14cacae7ff9a8b5216ca1e8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: config::global: fix memleak in open_programdata</title>
<updated>2015-11-24T13:47:50+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2015-11-24T13:29:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=c8fab201ebbb9d3c871a7ca426e780b90271a8e0'/>
<id>c8fab201ebbb9d3c871a7ca426e780b90271a8e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config::global: use PROGRAMDATA configuration</title>
<updated>2015-11-17T13:46:21+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2015-11-17T13:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=6f7c411834be0ccd5047f58d39daee1f6ec2edc3'/>
<id>6f7c411834be0ccd5047f58d39daee1f6ec2edc3</id>
<content type='text'>
Query the `GIT_CONFIG_LEVEL_PROGRAMDATA` location when setting it up
for tests, in case the test runner has sandboxed it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Query the `GIT_CONFIG_LEVEL_PROGRAMDATA` location when setting it up
for tests, in case the test runner has sandboxed it.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: add failing test for an external modification</title>
<updated>2015-10-30T18:49:34+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-10-29T19:31:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a2f96479abfe17357f666a80d9d0163dd8014fa1'/>
<id>a2f96479abfe17357f666a80d9d0163dd8014fa1</id>
<content type='text'>
We currently use the timestamp in order to decide whether a config file
has changed since we last read it.

This scheme falls down if the file is written twice within the same
second, as we fail to detect the file change after the first read in
that second.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently use the timestamp in order to decide whether a config file
has changed since we last read it.

This scheme falls down if the file is written twice within the same
second, as we fail to detect the file change after the first read in
that second.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: add a ProgramData level</title>
<updated>2015-10-21T13:11:18+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-10-20T15:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8c7c5fa585c6a63dc8186febd6e032880655e85e'/>
<id>8c7c5fa585c6a63dc8186febd6e032880655e85e</id>
<content type='text'>
This is where portable git stores the global configuration which we can
use to adhere to it even though git isn't quite installed on the system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is where portable git stores the global configuration which we can
use to adhere to it even though git isn't quite installed on the system.
</pre>
</div>
</content>
</entry>
</feed>
