<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pub/scm/git/git.git/git-diff-script, branch v0.99.6</title>
<subtitle>Git source code mirror</subtitle>
<id>http://kernel.varnish.org/pub/scm/git/git.git/atom/git-diff-script?h=v0.99.6</id>
<link rel='self' href='http://kernel.varnish.org/pub/scm/git/git.git/atom/git-diff-script?h=v0.99.6'/>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/'/>
<updated>2005-08-23T20:18:00Z</updated>
<entry>
<title>Update git-diff-script.</title>
<updated>2005-08-23T20:18:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-23T20:18:00Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=0a5a9ea433031c5e23f1909bcca0a9b7ac7cf375'/>
<id>urn:sha1:0a5a9ea433031c5e23f1909bcca0a9b7ac7cf375</id>
<content type='text'>
This uses the fixed rev-parse to allow passing diff options to the
underlying diff command.  For example:

    $ git diff -r HEAD

shows the output in raw-diff format, and

    $ git diff -p -R HEAD | git apply

generates a patch to go back from your working tree to HEAD commit
(i.e. an expensive way to say "git checkout -f HEAD").

At the same time, it accidentally removes the use of shell arrays.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix "git-diff-script A B"</title>
<updated>2005-08-23T01:32:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-21T20:56:52Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=792fe559d02e55c12d2d544fd6d6f202cbaab6f4'/>
<id>urn:sha1:792fe559d02e55c12d2d544fd6d6f202cbaab6f4</id>
<content type='text'>
When "git-diff-script A..B" notation was introduced, it ended up breaking
the traditional two revisions notation.

[jc: there are other issues with the current "git diff" I would like to
 address, but they would be left to later rounds.  For example, -M and -p flags
 should not be hardcoded default, and it shouldn't be too hard to rewrite
 the script without using shell arrays.]

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='http://kernel.varnish.org/pub/scm/git/git.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>Make "git diff" use git-sh-setup-script too..</title>
<updated>2005-07-14T16:29:35Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-14T16:29:35Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=d1918a728574a627e2a9e0dfc087cfd58e9d8acd'/>
<id>urn:sha1:d1918a728574a627e2a9e0dfc087cfd58e9d8acd</id>
<content type='text'>
Give a sane error rather than just silently claiming no diffs when
you're not at the top-level directory.
</content>
</entry>
<entry>
<title>Use the new git-rev-parse "--[no-]flags" in "git diff".</title>
<updated>2005-07-06T17:09:58Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-06T17:09:58Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=9e9824ba0e641095f1cbc01c724d8e0a382c0580'/>
<id>urn:sha1:9e9824ba0e641095f1cbc01c724d8e0a382c0580</id>
<content type='text'>
This allows you to do

	git diff v2.6.12..v2.6.13-rc1 drivers/pcmcia

to see the diff between v2.6.12 and v2.6.13-rc1 as limited by the
filename argument.
</content>
</entry>
<entry>
<title>Use "-M" instead of "-C" for "git diff" and "git status"</title>
<updated>2005-06-17T22:34:19Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-17T22:34:19Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=753fd78458b6d7d0e65ce0ebe7b62e1bc55f3992'/>
<id>urn:sha1:753fd78458b6d7d0e65ce0ebe7b62e1bc55f3992</id>
<content type='text'>
The "C" in "-C" may stand for "Cool", but it's also pretty slow, since
right now it leaves all unmodified files to be tested even if there are
no new files at all.  That just ends up being unacceptably slow for big
projects, especially if it's not all in the cache.
</content>
</entry>
<entry>
<title>Don't use -C in "git diff"</title>
<updated>2005-06-17T19:46:38Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-17T19:46:38Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=aeac6681250440bc9801d6d6cc293cc708895b46'/>
<id>urn:sha1:aeac6681250440bc9801d6d6cc293cc708895b46</id>
<content type='text'>
Right now it confuses at least git-diff-files, since it leaves
all the files (whether changed or not) in the diff queue.
</content>
</entry>
<entry>
<title>Trivial git script fixups</title>
<updated>2005-06-15T01:56:05Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-15T01:56:05Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=40d8cfe4117564e5520e8f4f953addaa94844476'/>
<id>urn:sha1:40d8cfe4117564e5520e8f4f953addaa94844476</id>
<content type='text'>
Fix permissions, and add trivial "reset" and "add" scripts.

The "reset" script just resets the index back to head, while the "add"
script is just a crutch for people used to do "cvs add".
</content>
</entry>
<entry>
<title>Add "git diff" script</title>
<updated>2005-06-13T22:09:34Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-13T22:09:34Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=940c1bb0181cb20454bf3573134175f86983a0ce'/>
<id>urn:sha1:940c1bb0181cb20454bf3573134175f86983a0ce</id>
<content type='text'>
It's a simple helper that depending on the arguments will either
use git-diff-files, git-diff-cache or git-diff-tree.
</content>
</entry>
</feed>
