<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit-slab-decl.h, branch v2.28.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v2.28.1</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v2.28.1'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2020-05-18T17:33:00Z</updated>
<entry>
<title>commit-slab-decl.h: update include guard</title>
<updated>2020-05-18T17:33:00Z</updated>
<author>
<name>Abhishek Kumar</name>
<email>abhishekkumar8222@gmail.com</email>
</author>
<published>2020-05-18T14:30:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=9892dc83f6f943d1ee5ba39038c4c3e9c5d0f239'/>
<id>urn:sha1:9892dc83f6f943d1ee5ba39038c4c3e9c5d0f239</id>
<content type='text'>
When a9f1f1f9f8 ("commit-slab.h: code split", 2018-05-19) split
commit-slab.h into commit-slab-decl.h and commit-slab-impl.h header
files, commit-slab-decl.h were left to use "COMMIT_SLAB_HDR_H",
while commit-slab-impl.h gained its own macro, "COMMIT_SLAB_IMPL_H".

As these two files use different include guards, there is nothing
broken, but let's update commit-slab-decl.h to match the convention
to name the include guard after the filename.

Signed-off-by: Abhishek Kumar &lt;abhishekkumar8222@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit-slab: support shared commit-slab</title>
<updated>2018-05-21T05:07:19Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-05-19T05:28:18Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=878f0bb81990170cde5dba934fcd1ae4c2e698ee'/>
<id>urn:sha1:878f0bb81990170cde5dba934fcd1ae4c2e698ee</id>
<content type='text'>
define_shared_commit_slab() could be used in a header file to define a
commit-slab. One of these C files must include commit-slab-impl.h and
"call" implement_shared_commit_slab().

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit-slab.h: code split</title>
<updated>2018-05-21T05:07:19Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-05-19T05:28:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=a9f1f1f9f8b2873c43d6100717eb776ea288ed9e'/>
<id>urn:sha1:a9f1f1f9f8b2873c43d6100717eb776ea288ed9e</id>
<content type='text'>
The struct declaration and implementation macros are moved to
commit-slab-hdr.h and commit-slab-impl.h respectively.

This right now is not needed for current users but if we make a public
commit-slab type, we may want to avoid including the slab
implementation in a header file which gets replicated in every c file
that includes it.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
