<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff.h, branch v0.99.8a</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v0.99.8a</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v0.99.8a'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-09-25T06:50:44Z</updated>
<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.shady.money/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.shady.money/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.shady.money/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.shady.money/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.shady.money/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.shady.money/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.shady.money/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>
<entry>
<title>[PATCH] Clean up diff option descriptions.</title>
<updated>2005-07-13T20:09:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-13T19:52:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dda2d79af2d2858b37bab7f6e088d0730c0959d1'/>
<id>urn:sha1:dda2d79af2d2858b37bab7f6e088d0730c0959d1</id>
<content type='text'>
I got tired of maintaining almost duplicated descriptions in
diff-* brothers, both in usage string and documentation.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] git-diff-*: --name-only and --name-only-z.</title>
<updated>2005-07-13T19:55:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-13T19:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=52f28529f4f90cebdca47f8eacbff5cb20004bed'/>
<id>urn:sha1:52f28529f4f90cebdca47f8eacbff5cb20004bed</id>
<content type='text'>
Porcelain layers often want to find only names of changed files,
and even with diff-raw output format they end up having to pick
out only the filename.  Support --name-only (and --name-only-z
for xargs -0 and cpio -0 users that want to treat filenames with
embedded newlines sanely) flag to help them.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add --diff-filter= output restriction to diff-* family.</title>
<updated>2005-06-13T03:40:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-12T03:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f2ce9fde57513af026e0641073a6781a086251d5'/>
<id>urn:sha1:f2ce9fde57513af026e0641073a6781a086251d5</id>
<content type='text'>
This is a halfway between debugging aid and a helper to write an
ultra-smart merge scripts.  The new option takes a string that
consists of a list of "status" letters, and limits the diff
output to only those classes of changes, with two exceptions:

 - A broken pair (aka "complete rewrite"), does not match D
   (deleted) or N (created).  Use B to look for them.

 - The letter "A" in the diff-filter string does not match
   anything itself, but causes the entire diff that contains
   selected patches to be output (this behaviour is similar to
   that of --pickaxe-all for the -S option).

For example,

    $ git-rev-list HEAD |
      git-diff-tree --stdin -s -v -B -C --diff-filter=BCR

shows a list of commits that have complete rewrite, copy, or
rename.

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