<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff.c, branch v1.6.3.1</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.3.1</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.3.1'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-05-01T22:17:31Z</updated>
<entry>
<title>Fix a bunch of pointer declarations (codestyle)</title>
<updated>2009-05-01T22:17:31Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2009-05-01T09:06:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4b25d091ba53c758fae0096b8c0662371857b9d9'/>
<id>urn:sha1:4b25d091ba53c758fae0096b8c0662371857b9d9</id>
<content type='text'>
Essentially; s/type* /type */ as per the coding guidelines.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Allow users to un-configure rename detection</title>
<updated>2009-04-12T05:22:00Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-04-09T18:46:15Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=cced5fbc241f1274ba532040b985f38c15bbf555'/>
<id>urn:sha1:cced5fbc241f1274ba532040b985f38c15bbf555</id>
<content type='text'>
I told people on the kernel mailing list to please use "-M" when sending
me rename patches, so that I can see what they do while reading email
rather than having to apply the patch and then look at the end result.

I also told them that if they want to make it the default, they can just
add

	[diff]
		renames

to their ~/.gitconfig file. And while I was thinking about that, I wanted
to also check whether you can then mark individual projects to _not_ have
that default in the per-repository .git/config file.

And you can't. Currently you cannot have a global "enable renames by
default" and then a local ".. but not for _this_ project". Why? Because if
somebody writes

	[diff]
		renames = no

we simply ignore it, rather than resetting "diff_detect_rename_default"
back to zero.

Fixed thusly.

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 'jc/maint-1.6.0-diff-borrow-carefully'</title>
<updated>2009-03-28T07:42:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-28T07:42:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=aa72a14a7f648ae47749281002e94cfcf36f39e2'/>
<id>urn:sha1:aa72a14a7f648ae47749281002e94cfcf36f39e2</id>
<content type='text'>
* jc/maint-1.6.0-diff-borrow-carefully:
  diff --cached: do not borrow from a work tree when a path is marked as assume-unchanged
</content>
</entry>
<entry>
<title>Merge branch 'js/maint-diff-temp-smudge'</title>
<updated>2009-03-26T07:27:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-26T07:27:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b71fdc590d660f81e8e2ebfdab989feb60e86dde'/>
<id>urn:sha1:b71fdc590d660f81e8e2ebfdab989feb60e86dde</id>
<content type='text'>
* js/maint-diff-temp-smudge:
  Smudge the files fed to external diff and textconv
</content>
</entry>
<entry>
<title>diff --cached: do not borrow from a work tree when a path is marked as assume-unchanged</title>
<updated>2009-03-22T22:26:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-22T22:26:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=150115aded2e1e0a83db7366f59e4b5bf1aa8135'/>
<id>urn:sha1:150115aded2e1e0a83db7366f59e4b5bf1aa8135</id>
<content type='text'>
When the index says that the file in the work tree that corresponds to the
blob object that is used for comparison is known to be unchanged, "diff"
reads from the file and applies convert_to_git(), instead of inflating the
object, to feed the internal diff engine with, because an earlier
benchnark found that it tends to be faster to use this optimization.

However, the index can lie when the path is marked as assume-unchanged.
Disable the optimization for such paths.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Smudge the files fed to external diff and textconv</title>
<updated>2009-03-22T22:03:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-03-21T11:42:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4e218f54b3de6aa8ef7d15020c4507031a519f7d'/>
<id>urn:sha1:4e218f54b3de6aa8ef7d15020c4507031a519f7d</id>
<content type='text'>
When preparing temporary files for an external diff or textconv, it is
easier on the external tools, especially when they are implemented using
platform tools, if they are fed the input after convert_to_working_tree().

This fixes msysGit issue 177.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/maint-1.6.0-keep-pack'</title>
<updated>2009-03-11T20:49:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-11T20:49:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=aec813062b340e6bb181470cf57cc4b4406e1bb8'/>
<id>urn:sha1:aec813062b340e6bb181470cf57cc4b4406e1bb8</id>
<content type='text'>
* jc/maint-1.6.0-keep-pack:
  is_kept_pack(): final clean-up
  Simplify is_kept_pack()
  Consolidate ignore_packed logic more
  has_sha1_kept_pack(): take "struct rev_info"
  has_sha1_pack(): refactor "pretend these packs do not exist" interface
  git-repack: resist stray environment variable
</content>
</entry>
<entry>
<title>Remove unused function scope local variables</title>
<updated>2009-03-08T04:52:17Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2009-03-07T20:02:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=eb3a9dd3279fe4b05f286665986ebf6d43a6ccc0'/>
<id>urn:sha1:eb3a9dd3279fe4b05f286665986ebf6d43a6ccc0</id>
<content type='text'>
These variables were unused and can be removed safely:

  builtin-clone.c::cmd_clone(): use_local_hardlinks, use_separate_remote
  builtin-fetch-pack.c::find_common(): len
  builtin-remote.c::mv(): symref
  diff.c::show_stats():show_stats(): total
  diffcore-break.c::should_break(): base_size
  fast-import.c::validate_raw_date(): date, sign
  fsck.c::fsck_tree(): o_sha1, sha1
  xdiff-interface.c::parse_num(): read_some

Signed-off-by: Benjamin Kramer &lt;benny.kra@googlemail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'al/ansi-color'</title>
<updated>2009-03-05T23:41:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-05T23:41:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4a2caf691232ef9599ee3f1a1a04a47f309e65c1'/>
<id>urn:sha1:4a2caf691232ef9599ee3f1a1a04a47f309e65c1</id>
<content type='text'>
* al/ansi-color:
  builtin-branch.c: Rename branch category color names
  Clean up use of ANSI color sequences
</content>
</entry>
<entry>
<title>Use DIFF_XDL_SET/DIFF_OPT_SET instead of raw bit-masking</title>
<updated>2009-03-04T08:56:51Z</updated>
<author>
<name>Keith Cascio</name>
<email>keith@cs.ucla.edu</email>
</author>
<published>2009-02-17T03:26:49Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=628d5c2b707db207e47c42ca112b182aa171cfaa'/>
<id>urn:sha1:628d5c2b707db207e47c42ca112b182aa171cfaa</id>
<content type='text'>
Signed-off-by: Keith Cascio &lt;keith@cs.ucla.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
