<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff-tree.c, branch v0.99</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v0.99</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v0.99'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-07-08T17:45:07Z</updated>
<entry>
<title>git-diff-*: support "-u" as a synonym for "-p"</title>
<updated>2005-07-08T17:45:07Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-08T17:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=acb46f8769dd0031a98a284e06ebc5a09b151bfd'/>
<id>urn:sha1:acb46f8769dd0031a98a284e06ebc5a09b151bfd</id>
<content type='text'>
I'm probably not the only one whose fingers have gotten hard-wired to
use "-u" for "unified diff".
</content>
</entry>
<entry>
<title>Add "--pretty=full" format that also shows committer.</title>
<updated>2005-06-27T00:50:46Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-27T00:50:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9b66ec04741b4030e7654dcb7b978a29a8214b31'/>
<id>urn:sha1:9b66ec04741b4030e7654dcb7b978a29a8214b31</id>
<content type='text'>
Also move the common implementation of parsing the --pretty argument
format into commit.c rather than having duplicates in diff-tree.c and
rev-list.c.
</content>
</entry>
<entry>
<title>Clean up git-diff-tree 'header' generation</title>
<updated>2005-06-23T20:56:55Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-23T20:56:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=180926636e47ecfe28d03cec493af75899994f0f'/>
<id>urn:sha1:180926636e47ecfe28d03cec493af75899994f0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PATCH] Make -C less eager.</title>
<updated>2005-06-20T03:13:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-19T20:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4727f640036fbdad414bdcbe31d08f6a8fd70923'/>
<id>urn:sha1:4727f640036fbdad414bdcbe31d08f6a8fd70923</id>
<content type='text'>
Like diff-tree, this patch makes -C option for diff-* brothers
to use only pre-image of modified files as rename/copy detection
by default.  Give --find-copies-harder to use unmodified files
to find copies from as well.

This also fixes "diff-files -C" problem earlier noticed by
Linus.  It was feeding the null sha1 even when the file in the
work tree was known to match what is in the index file.  This
resulted in diff-files showing everything in the project.

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>
<entry>
<title>[PATCH] diff-tree: --find-copies-harder</title>
<updated>2005-06-13T03:40:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-11T01:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a7ca65405c364e674cf4359b07ae959d4ece01ab'/>
<id>urn:sha1:a7ca65405c364e674cf4359b07ae959d4ece01ab</id>
<content type='text'>
Normally, diff-tree does not feed unchanged filepair to diffcore
for performance reasons, so copies are detected only when the
source file of the copy happens to be modified in the same
changeset.  This adds --find-copies-harder flag to tell
diff-tree to sacrifice the performance in order to find copies
the same way as other commands in diff-* family.

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>git-diff-tree: fix output with just "--pretty".</title>
<updated>2005-06-13T03:34:09Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-13T03:34:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba88e54b1a39aa700cc2f8da402e6167d124329d'/>
<id>urn:sha1:ba88e54b1a39aa700cc2f8da402e6167d124329d</id>
<content type='text'>
It set verbose, but didn't set the output prefix to "diff-tree".
</content>
</entry>
<entry>
<title>[PATCH] Support commit_format in diff-tree</title>
<updated>2005-06-13T03:29:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-13T00:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a8db165ee90c7a460916c3efbf97750dd019872c'/>
<id>urn:sha1:a8db165ee90c7a460916c3efbf97750dd019872c</id>
<content type='text'>
This steals --pretty command line option from rev-list and
teaches diff-tree to do the same.  With this change,

    $ git-whatchanged --pretty

would work as expected.

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>pretty_print_commit: add different formats</title>
<updated>2005-06-05T16:02:03Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-05T16:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=000182eacf99cde27d5916aa415921924b82972c'/>
<id>urn:sha1:000182eacf99cde27d5916aa415921924b82972c</id>
<content type='text'>
You can ask to print out "raw" format (full headers, full body),
"medium" format (author and date, full body) or "short" format
(author only, condensed body).

Use "git-rev-list --pretty=short HEAD | less -S" for an example.
</content>
</entry>
<entry>
<title>[PATCH] diff: Clean up diff_scoreopt_parse().</title>
<updated>2005-06-03T18:23:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-03T08:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0e3994fa97e9876b571531444b97ae6e63fd744d'/>
<id>urn:sha1:0e3994fa97e9876b571531444b97ae6e63fd744d</id>
<content type='text'>
This cleans up diff_scoreopt_parse() function that is used to
parse the fractional notation -B, -C and -M option takes.  The
callers are modified to check for errors and complain.  Earlier
they silently ignored malformed input and falled back on the
default.

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