<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff-files.c, 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-10-01T05:12:01Z</updated>
<entry>
<title>Consolidate null_sha1[].</title>
<updated>2005-10-01T05:12:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junio@twinsun.com</email>
</author>
<published>2005-09-30T21:02:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=88cd621deedd2aab8f0a4c6ea3afed7269e66d0c'/>
<id>urn:sha1:88cd621deedd2aab8f0a4c6ea3afed7269e66d0c</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junio@twinsun.com&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>[PATCH] Make "git diff" work inside relative subdirectories</title>
<updated>2005-08-17T01:47:22Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-08-17T01:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d288a70030eaa5c205a72b4548635e17f8e523c0'/>
<id>urn:sha1:d288a70030eaa5c205a72b4548635e17f8e523c0</id>
<content type='text'>
We always show the diff as an absolute path, but pathnames to diff are
taken relative to the current working directory (and if no pathnames are
given, the default ends up being all of the current working directory).

Note that "../xyz" also works, so you can do

	cd linux/drivers/char
	git diff ../block

and it will generate a diff of the linux/drivers/block changes.

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>[PATCH] Unify usage strings declaration</title>
<updated>2005-07-30T00:21:50Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2005-07-29T09:01:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4d1f11903393bd79998144ce1089ce427a49a2ed'/>
<id>urn:sha1:4d1f11903393bd79998144ce1089ce427a49a2ed</id>
<content type='text'>
All usage strings are now declared as static const char [].

This is carried over from my old git-pb branch.

Signed-off-by: Petr Baudis &lt;pasky@ucw.cz&gt;
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>Make "ce_match_path()" a generic helper function</title>
<updated>2005-07-14T23:55:06Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-14T23:55:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c0fd1f517efeb67df32b8d4ffa209afab14be436'/>
<id>urn:sha1:c0fd1f517efeb67df32b8d4ffa209afab14be436</id>
<content type='text'>
... and make git-diff-files use it too.  This all _should_ make the
diffcore-pathspec.c phase unnecessary, since the diff'ers now all do the
path matching early interally.
</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>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>[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>
</feed>
