<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin-diff.c, branch v1.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.2</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.2'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2008-12-08T03:59:25Z</updated>
<entry>
<title>reorder ALLOW_TEXTCONV option setting</title>
<updated>2008-12-08T03:59:25Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2008-12-08T02:54:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=5ec11af61d907311e4e1b21e10009b06dc2cf74a'/>
<id>urn:sha1:5ec11af61d907311e4e1b21e10009b06dc2cf74a</id>
<content type='text'>
Right now for the diff porcelain and the log family, we
call:

  init_revisions();
  setup_revisions();
  DIFF_OPT_SET(ALLOW_TEXTCONV);

However, that means textconv will _always_ be on, instead of
being a default that can be manipulated with
setup_revisions. Instead, we want:

  init_revisions();
  DIFF_OPT_SET(ALLOW_TEXTCONV);
  setup_revisions();

which is what this patch does.

We'll go ahead and move the callsite in wt-status, also;
even though the user can't pass any options here, it is a
cleanup that will help avoid any surprise later if the
setup_revisions line is changed.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lt/preload-lstat'</title>
<updated>2008-11-28T03:24:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-11-28T03:24:13Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2af9664776a237baa7ce67789bc5d2b54a36d95c'/>
<id>urn:sha1:2af9664776a237baa7ce67789bc5d2b54a36d95c</id>
<content type='text'>
* lt/preload-lstat:
  Fix index preloading for racy dirty case
  Add cache preload facility
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2008-11-26T19:57:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-11-26T19:57:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=aa14a0c3f191ee4df7344eed119be5b4a527a0ff'/>
<id>urn:sha1:aa14a0c3f191ee4df7344eed119be5b4a527a0ff</id>
<content type='text'>
* maint:
  Teach "git diff" to honour --[no-]ext-diff
</content>
</entry>
<entry>
<title>Teach "git diff" to honour --[no-]ext-diff</title>
<updated>2008-11-26T17:58:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-11-26T17:58:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=61af494ca4e63cdc484ea091617ab5f3974f2f9c'/>
<id>urn:sha1:61af494ca4e63cdc484ea091617ab5f3974f2f9c</id>
<content type='text'>
The original intention of 72909be (Add diff-option --ext-diff, 2007-06-30)
was to optionally allow the use of external diff viewer in "git log"
family (while keeping them disabled by default).  It exposed the "allow
external diff" bit to the UI, but forgot to adjust the "git diff" codepath
that was set up to always allow use of the external diff viewer.

Noticed by Nazri Ramliy; tests by René Scharfe squashed in.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add cache preload facility</title>
<updated>2008-11-15T03:11:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-11-14T00:36:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=671c9b7e315db89081cc69f83a8f405e4aca37bc'/>
<id>urn:sha1:671c9b7e315db89081cc69f83a8f405e4aca37bc</id>
<content type='text'>
This can do the lstat() storm in parallel, giving potentially much
improved performance for cold-cache cases or things like NFS that have
weak metadata caching.

Just use "read_cache_preload()" instead of "read_cache()" to force an
optimistic preload of the index stat data.  The function takes a
pathspec as its argument, allowing us to preload only the relevant
portion of the index.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/diff-convfilter'</title>
<updated>2008-11-13T05:50:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-11-13T05:50:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=72b6157aa847615a778ac9950e87dde109afa50c'/>
<id>urn:sha1:72b6157aa847615a778ac9950e87dde109afa50c</id>
<content type='text'>
* jk/diff-convfilter:
  enable textconv for diff in verbose status/commit
  wt-status: load diff ui config
  only textconv regular files
  userdiff: require explicitly allowing textconv
  refactor userdiff textconv code

Conflicts:
	t/t4030-diff-textconv.sh
</content>
</entry>
<entry>
<title>git-diff: Add --staged as a synonym for --cached.</title>
<updated>2008-11-11T22:55:43Z</updated>
<author>
<name>David Symonds</name>
<email>dsymonds@gmail.com</email>
</author>
<published>2008-10-29T16:15:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2baf1850ceb01dfbee862e30f2a69cf6064e13eb'/>
<id>urn:sha1:2baf1850ceb01dfbee862e30f2a69cf6064e13eb</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>userdiff: require explicitly allowing textconv</title>
<updated>2008-10-26T21:09:48Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2008-10-26T04:45:55Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c7534ef4a12bb44806d522fc8e3961e390f9169b'/>
<id>urn:sha1:c7534ef4a12bb44806d522fc8e3961e390f9169b</id>
<content type='text'>
Diffs that have been produced with textconv almost certainly
cannot be applied, so we want to be careful not to generate
them in things like format-patch.

This introduces a new diff options, ALLOW_TEXTCONV, which
controls this behavior. It is off by default, but is
explicitly turned on for the "log" family of commands, as
well as the "diff" porcelain (but not diff-* plumbing).

Because both text conversion and external diffing are
controlled by these diff options, we can get rid of the
"plumbing versus porcelain" distinction when reading the
config. This was an attempt to control the same thing, but
suffered from being too coarse-grained.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>"git diff &lt;tree&gt;{3,}": do not reverse order of arguments</title>
<updated>2008-10-12T19:36:19Z</updated>
<author>
<name>Matt McCutchen</name>
<email>matt@mattmccutchen.net</email>
</author>
<published>2008-10-11T01:56:15Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b75271d93a9e4be960d53fc4f955802530e0e733'/>
<id>urn:sha1:b75271d93a9e4be960d53fc4f955802530e0e733</id>
<content type='text'>
According to the message of commit 0fe7c1de16f71312e6adac4b85bddf0d62a47168,
"git diff" with three or more trees expects the merged tree first followed by
the parents, in order.  However, this command reversed the order of its
arguments, resulting in confusing diffs.  A comment /* Again, the revs are all
reverse */ suggested there was a reason for this, but I can't figure out the
reason, so I removed the reversal of the arguments.  Test case included.

Signed-off-by: Matt McCutchen &lt;matt@mattmccutchen.net&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2008-09-19T03:30:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-09-19T03:30:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3791f77c28f233df121da2f83abf7eefc7b49b69'/>
<id>urn:sha1:3791f77c28f233df121da2f83abf7eefc7b49b69</id>
<content type='text'>
* maint:
  sha1_file: link() returns -1 on failure, not errno
  Make git archive respect core.autocrlf when creating zip format archives
  Add new test to demonstrate git archive core.autocrlf inconsistency
  gitweb: avoid warnings for commits without body
  Clarified gitattributes documentation regarding custom hunk header.
  git-svn: fix handling of even funkier branch names
  git-svn: Always create a new RA when calling do_switch for svn://
  git-svn: factor out svnserve test code for later use
  diff/diff-files: do not use --cc too aggressively
</content>
</entry>
</feed>
