<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/cache-tree.c, branch v2.1.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.1.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.1.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-06-13T18:49:39Z</updated>
<entry>
<title>cache-tree: mark istate-&gt;cache_changed on prime_cache_tree()</title>
<updated>2014-06-13T18:49:39Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-06-13T12:19:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6c286e8b2d0748cfaa670f6738db0c232427cd3'/>
<id>urn:sha1:e6c286e8b2d0748cfaa670f6738db0c232427cd3</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache-tree: mark istate-&gt;cache_changed on cache tree update</title>
<updated>2014-06-13T18:49:39Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-06-13T12:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d0cfc3e866a77eed98ab2caf41a39a87837950e6'/>
<id>urn:sha1:d0cfc3e866a77eed98ab2caf41a39a87837950e6</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache-tree: mark istate-&gt;cache_changed on cache tree invalidation</title>
<updated>2014-06-13T18:49:39Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-06-13T12:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a5400efe29fdaabbe5266d11d255b2ef5a4c3a66'/>
<id>urn:sha1:a5400efe29fdaabbe5266d11d255b2ef5a4c3a66</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>read-cache: new API write_locked_index instead of write_index/write_cache</title>
<updated>2014-06-13T18:49:10Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-06-13T12:19:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03b86647722f11ccc321cd7279aa49b811d17cc2'/>
<id>urn:sha1:03b86647722f11ccc321cd7279aa49b811d17cc2</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rm/strchrnul-not-strlen'</title>
<updated>2014-03-18T20:51:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T20:51:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6f75e48323bc3071495025fd14105e9dffa9e8dd'/>
<id>urn:sha1:6f75e48323bc3071495025fd14105e9dffa9e8dd</id>
<content type='text'>
* rm/strchrnul-not-strlen:
  use strchrnul() in place of strchr() and strlen()
</content>
</entry>
<entry>
<title>Merge branch 'mh/simplify-cache-tree-find'</title>
<updated>2014-03-18T20:51:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T20:51:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da2e0579adad88136b8a0a850d7325c398a401ac'/>
<id>urn:sha1:da2e0579adad88136b8a0a850d7325c398a401ac</id>
<content type='text'>
* mh/simplify-cache-tree-find:
  cache_tree_find(): use path variable when passing over slashes
  cache_tree_find(): remove early return
  cache_tree_find(): remove redundant check
  cache_tree_find(): fix comment formatting
  cache_tree_find(): find the end of path component using strchrnul()
  cache_tree_find(): remove redundant checks
</content>
</entry>
<entry>
<title>use strchrnul() in place of strchr() and strlen()</title>
<updated>2014-03-10T15:35:30Z</updated>
<author>
<name>Rohit Mani</name>
<email>rohit.mani@outlook.com</email>
</author>
<published>2014-03-08T06:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c5495f7b60d6ddcd6a411b48d2f6dbc4a24717a'/>
<id>urn:sha1:2c5495f7b60d6ddcd6a411b48d2f6dbc4a24717a</id>
<content type='text'>
Avoid scanning strings twice, once with strchr() and then with
strlen(), by using strchrnul().

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Rohit Mani &lt;rohit.mani@outlook.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache_tree_find(): use path variable when passing over slashes</title>
<updated>2014-03-05T20:34:26Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2014-03-05T17:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3491047e14532f4c01e3459d59d914d9598721c5'/>
<id>urn:sha1:3491047e14532f4c01e3459d59d914d9598721c5</id>
<content type='text'>
The search for the end of the slashes is part of the update of the
path variable for the next iteration as opposed to an update of the
slash variable.  So iterate using path rather than slash.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache_tree_find(): remove early return</title>
<updated>2014-03-05T20:34:05Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2014-03-05T17:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8b7e5f79723b0f2e1d3dca4e959ad2a2041e9453'/>
<id>urn:sha1:8b7e5f79723b0f2e1d3dca4e959ad2a2041e9453</id>
<content type='text'>
There is no need for an early

    return it;

from the loop if slash points at the end of the string, because that
is exactly what will happen when the while condition fails at the
start of the next iteration.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache_tree_find(): remove redundant check</title>
<updated>2014-03-05T20:33:53Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2014-03-05T17:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03b0403b4a957bb52f5266ac071869da32a3be0a'/>
<id>urn:sha1:03b0403b4a957bb52f5266ac071869da32a3be0a</id>
<content type='text'>
If *slash == '/', then it is necessarily non-NUL.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
