<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/cache.h, branch v2.41.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.41.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.41.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2023-04-24T19:47:33Z</updated>
<entry>
<title>cache.h: remove unnecessary headers</title>
<updated>2023-04-24T19:47:33Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4c98cb8e355d51520cb56ef8bdcbe9f23c55a114'/>
<id>urn:sha1:4c98cb8e355d51520cb56ef8bdcbe9f23c55a114</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache,tree: move basic name compare functions from read-cache to tree</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=53dca334d6c56488994c0c80a247707419cddbfc'/>
<id>urn:sha1:53dca334d6c56488994c0c80a247707419cddbfc</id>
<content type='text'>
None of base_name_compare(), df_name_compare(), or name_compare()
depended upon a cache_entry or index_state in any way.  By moving these
functions to tree.h, half a dozen other files can stop depending upon
cache.h (though that change will be made in a later commit).

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache,tree: move cmp_cache_name_compare from tree.[ch] to read-cache.c</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aabc5617cdfb29ccf98048b0d99cae2a811df51f'/>
<id>urn:sha1:aabc5617cdfb29ccf98048b0d99cae2a811df51f</id>
<content type='text'>
Since cmp_cache_name_compare() was comparing cache_entry structs, it
was associated with the cache rather than with trees.  Move the
function.  As a side effect, we can make cache_name_stage_compare()
static as well.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23a517e4156714c3f8c8a4e36beccfee1d76ff1f'/>
<id>urn:sha1:23a517e4156714c3f8c8a4e36beccfee1d76ff1f</id>
<content type='text'>
S_DIFFTREE_IFXMIN_NEQ is *only* used in tree-diff.c, so there is no
point exposing it in cache.h.  Move it to tree-diff.c.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>dir.h: move DTYPE defines from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=592fc5b3495bf4ff17252d31109f1d9c0134684b'/>
<id>urn:sha1:592fc5b3495bf4ff17252d31109f1d9c0134684b</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>versioncmp.h: move declarations for versioncmp.c functions from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3467663d47a56f9debd86cae75963eee023b3b89'/>
<id>urn:sha1:3467663d47a56f9debd86cae75963eee023b3b89</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ws.h: move declarations for ws.c functions from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=641223137b6d78fa78946f09b472093a117dc04c'/>
<id>urn:sha1:641223137b6d78fa78946f09b472093a117dc04c</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>match-trees.h: move declarations for match-trees.c functions from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d4ff2072abed071bc9fd291d179162da46d1427f'/>
<id>urn:sha1:d4ff2072abed071bc9fd291d179162da46d1427f</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pkt-line.h: move declarations for pkt-line.c functions from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b388633c5c47bf4fc12560d8b237ec0bd319ba4a'/>
<id>urn:sha1:b388633c5c47bf4fc12560d8b237ec0bd319ba4a</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>base85.h: move declarations for base85.c functions from cache.h</title>
<updated>2023-04-24T19:47:32Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2023-04-22T20:17:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9b5041f647fa5d9921b9b4f8be6b36cb39591166'/>
<id>urn:sha1:9b5041f647fa5d9921b9b4f8be6b36cb39591166</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
