<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch cmn/indexer-mmap</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>indexer: mmap fixes for Windows</title>
<updated>2014-05-16T23:39:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-05-14T17:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0731a5b4db086eefac1a842e37526ef7bdbaa7de'/>
<id>0731a5b4db086eefac1a842e37526ef7bdbaa7de</id>
<content type='text'>
Windows has its own ftruncate() called _chsize_s().

p_mkstemp() is changed to use p_open() so we can make sure we open for
writing; the addition of exclusive create is a good thing to do
regardless, as we want a temporary path for ourselves.

Lastly, MSVC doesn't quite know how to add two numbers if one of them is a
void pointer, so let's alias it to unsigned char.C
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows has its own ftruncate() called _chsize_s().

p_mkstemp() is changed to use p_open() so we can make sure we open for
writing; the addition of exclusive create is a good thing to do
regardless, as we want a temporary path for ourselves.

Lastly, MSVC doesn't quite know how to add two numbers if one of them is a
void pointer, so let's alias it to unsigned char.C
</pre>
</div>
</content>
</entry>
<entry>
<title>indexer: use mmap for writing</title>
<updated>2014-05-16T23:39:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-05-13T00:41:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f7310540ae888454f9ab69200cfcd8df07faf957'/>
<id>f7310540ae888454f9ab69200cfcd8df07faf957</id>
<content type='text'>
Some OSs cannot keep their ideas about file content straight when mixing
standard IO with file mapping. As we use mmap for reading from the
packfile, let's make writing to the pack file use mmap.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some OSs cannot keep their ideas about file content straight when mixing
standard IO with file mapping. As we use mmap for reading from the
packfile, let's make writing to the pack file use mmap.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2360 from phkelley/noinherit</title>
<updated>2014-05-16T17:42:17+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-05-16T17:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=adebcb1645f7bd652ff4449ecf41c39ded12d0c7'/>
<id>adebcb1645f7bd652ff4449ecf41c39ded12d0c7</id>
<content type='text'>
Win32: Supply _O_NOINHERIT when calling _wopen</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Win32: Supply _O_NOINHERIT when calling _wopen</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: Supply _O_NOINHERIT when calling _wopen</title>
<updated>2014-05-16T16:38:56+00:00</updated>
<author>
<name>Philip Kelley</name>
<email>phkelley@hotmail.com</email>
</author>
<published>2014-05-16T16:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f0b820dd67ee6ac53bf6bebd84dfa5c709c4b499'/>
<id>f0b820dd67ee6ac53bf6bebd84dfa5c709c4b499</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 #2313 from libgit2/cmn/remote-delete</title>
<updated>2014-05-16T09:56:37+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-05-16T09:56:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=228272ef5828e1e6d42f48acad3a557b340ddc90'/>
<id>228272ef5828e1e6d42f48acad3a557b340ddc90</id>
<content type='text'>
Remote deletion</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote deletion</pre>
</div>
</content>
</entry>
<entry>
<title>remote: remove remote-tracking branches on delete</title>
<updated>2014-05-16T08:02:07+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-30T07:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ec8a949a58864272860a4838c6b3d862beda7076'/>
<id>ec8a949a58864272860a4838c6b3d862beda7076</id>
<content type='text'>
When we delete a remote, we also need to go through its fetch refspecs
and remove the references they create locally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we delete a remote, we also need to go through its fetch refspecs
and remove the references they create locally.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2357 from libgit2/cmn/pack-cache-init</title>
<updated>2014-05-15T22:31:13+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-05-15T22:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8e1b5a8dc650c25e818ab7337833bd4d0d45a46e'/>
<id>8e1b5a8dc650c25e818ab7337833bd4d0d45a46e</id>
<content type='text'>
pack: init the cache on packfile alloc</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pack: init the cache on packfile alloc</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2356 from libgit2/rb/restore-search-paths</title>
<updated>2014-05-15T18:25:54+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-05-15T18:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=88b1b36dfcc6b406f2b6f21e0e042071984b3b90'/>
<id>88b1b36dfcc6b406f2b6f21e0e042071984b3b90</id>
<content type='text'>
Better global search path sandboxing in tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Better global search path sandboxing in tests</pre>
</div>
</content>
</entry>
<entry>
<title>pack: init the cache on packfile alloc</title>
<updated>2014-05-15T17:59:05+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-05-15T17:59:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=649214be4bd9d8239787e3af7e6d877955d09e11'/>
<id>649214be4bd9d8239787e3af7e6d877955d09e11</id>
<content type='text'>
When running multithreaded, it is not enough to check for the offmap
allocation. Move the call to cache_init() to packfile allocation so we
can be sure it is always allocated free of races.

This fixes #2355.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running multithreaded, it is not enough to check for the offmap
allocation. Move the call to cache_init() to packfile allocation so we
can be sure it is always allocated free of races.

This fixes #2355.
</pre>
</div>
</content>
</entry>
<entry>
<title>Better search path sandboxing</title>
<updated>2014-05-15T17:56:28+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-05-15T17:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8487e23797cef0284b592b5ef93eaacbac7196dc'/>
<id>8487e23797cef0284b592b5ef93eaacbac7196dc</id>
<content type='text'>
There are a number of tests that modify the global or system
search paths during the tests.  This adds a helper function to
make it easier to restore those paths and makes sure that they
are getting restored in a manner that preserves test isolation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are a number of tests that modify the global or system
search paths during the tests.  This adds a helper function to
make it easier to restore those paths and makes sure that they
are getting restored in a manner that preserves test isolation.
</pre>
</div>
</content>
</entry>
</feed>
