<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/diff.h, branch v1.0rc1</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.0rc1</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.0rc1'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2005-10-28T20:37:38Z</updated>
<entry>
<title>Documentation changes to recursive option for git-diff-tree</title>
<updated>2005-10-28T20:37:38Z</updated>
<author>
<name>Chris Shoemaker</name>
<email>c.shoemaker@cox.net</email>
</author>
<published>2005-10-28T17:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=50b8e355b64c93a71d5008557e15f52c032240ff'/>
<id>urn:sha1:50b8e355b64c93a71d5008557e15f52c032240ff</id>
<content type='text'>
Update docs and usages regarding '-r' recursive option for git-diff-tree.
Remove '-r' from common diff options, mention it only for git-diff-tree.
Remove one extraneous use of '-r' with git-diff-files in get-merge.sh.
Sync the synopsis and usage string for git-diff-tree.

Signed-off-by: Chris Shoemaker &lt;c.shoemaker at cox.net&gt;
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.stealer.net/cgit.cgi/user/sven/git.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>
<entry>
<title>Fix diff-filter All-Or-None mark.</title>
<updated>2005-10-05T00:44:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-05T00:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0b34379a8da82061308b7a22d0caa1834d579f48'/>
<id>urn:sha1:0b34379a8da82061308b7a22d0caa1834d579f48</id>
<content type='text'>
When we updated the marker for new files from 'N' to 'A', we forgot to
notice that the letter is already taken by the All-Or-None mark.
Change the All-Or-None marker to '*' to resolve this conflict.

	git-diff-tree -r --diff-filter='R*' -M

shows all the changes (not just renames) that are contained in commits
that have renames, in comparison with:

	git-diff-tree -r --diff-filter='R' -M

shows the same set of changes but the diff output are limited only to
renaming changes.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Diff: --name-status output format.</title>
<updated>2005-09-25T06:50:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-21T07:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=946f5f7c245a0f9398417be5946795cfebfd1c62'/>
<id>urn:sha1:946f5f7c245a0f9398417be5946795cfebfd1c62</id>
<content type='text'>
The new output format shows only the status letter and paths.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Diff: -l&lt;num&gt; to limit rename/copy detection.</title>
<updated>2005-09-25T06:50:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-21T07:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8082d8d3050e3fdd7b0f13c7a7b3ad68af7f478a'/>
<id>urn:sha1:8082d8d3050e3fdd7b0f13c7a7b3ad68af7f478a</id>
<content type='text'>
When many paths are modified, rename detection takes a lot of time.
The new option -l&lt;num&gt; can be used to disable rename detection when
more than &lt;num&gt; paths are possibly created as renames.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Diff clean-up.</title>
<updated>2005-09-25T06:50:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-21T07:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6b5ee137e56af8093391411389dd4b18416707ec'/>
<id>urn:sha1:6b5ee137e56af8093391411389dd4b18416707ec</id>
<content type='text'>
This is a long overdue clean-up to the code for parsing and passing
diff options.  It also tightens some constness issues.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Retire diff-helper.</title>
<updated>2005-09-22T08:54:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-21T06:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5cfcd07c931e6029a77f9393309f7d0ec7cdc118'/>
<id>urn:sha1:5cfcd07c931e6029a77f9393309f7d0ec7cdc118</id>
<content type='text'>
The textual diff generation with built-in '-p' in diff-* brothers has
proven to be useful enough that git-diff-helper outlived its usefulness.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff-raw: Use 'A' instead of 'N' for added files.</title>
<updated>2005-07-26T00:16:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-25T21:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ca8c9156f8f980455f64e2cedcf0347328e46029'/>
<id>urn:sha1:ca8c9156f8f980455f64e2cedcf0347328e46029</id>
<content type='text'>
This actually changes the diff-raw status letter from N to A
for added files.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Use symbolic constants for diff-raw status indicators.</title>
<updated>2005-07-26T00:15:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-25T20:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e7baa4f45f4420a6d2da6a13e8959f8405c3ea19'/>
<id>urn:sha1:e7baa4f45f4420a6d2da6a13e8959f8405c3ea19</id>
<content type='text'>
Both Cogito and StGIT prefer to see 'A' for new files.  The
current 'N' is visually harder to distinguish from 'M', which is
used for modified files.  Prepare the internals to use symbolic
constants to make the change easier.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Split up "diff_format" into "format" and "line_termination".</title>
<updated>2005-07-15T00:59:17Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-15T00:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e68b6f1525c670f474d735009fec419473df0962'/>
<id>urn:sha1:e68b6f1525c670f474d735009fec419473df0962</id>
<content type='text'>
This removes the separate "formats" for name and name-with-zero-
termination.

It also removes the difference between HUMAN and MACHINE formats, and
they both become DIFF_FORMAT_RAW, with the difference being just in the
line and inter-filename termination.

It also makes the code easier to understand.
</content>
</entry>
</feed>
