<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/tree-diff.c, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-02-01T00:07:01Z</updated>
<entry>
<title>Make the "struct tree_desc" operations available to others</title>
<updated>2006-02-01T00:07:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-01-31T22:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=50f9a858ada10b3b57691a313a1c78b0bcbe5947'/>
<id>urn:sha1:50f9a858ada10b3b57691a313a1c78b0bcbe5947</id>
<content type='text'>
We have operations to "extract" and "update" a "struct tree_desc", but we
only used them in tree-diff.c and they were static to that file.

But other tree traversal functions can use them to their advantage

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>avoid asking ?alloc() for zero bytes.</title>
<updated>2005-12-27T01:23:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-26T20:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e4a2a848377241b8fb4f624d1151bbf2f8d5814'/>
<id>urn:sha1:7e4a2a848377241b8fb4f624d1151bbf2f8d5814</id>
<content type='text'>
Avoid asking for zero bytes when that change simplifies overall
logic.  Later we would change the wrapper to ask for 1 byte on
platforms that return NULL for zero byte request.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Split up tree diff functions into tree-diff.c library</title>
<updated>2005-10-23T05:49:51Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-10-21T04:05:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ac1b3d1248f36b26c2eab55022b9a54bde36b1ee'/>
<id>urn:sha1:ac1b3d1248f36b26c2eab55022b9a54bde36b1ee</id>
<content type='text'>
This makes the tree diff functionality independent of the "git-diff-tree"
program, by splitting the core functionality up into a library file.

This will be needed for when we teach git-rev-list to only follow a
specified set of pathnames, rather than the global revision history.

Most of it is a fairly straightforward code move, but it also involves
some calling convention cleanup, and moving some of the static variables
from diff-tree.c into the options structure.

The actual tree change callback routines also become paramterized by the
diff_options structure, allowing the library functionality to do something
else than just show the diff on stdout.

Right now the only user of this functionality remains git-diff-tree
itself.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
