<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/diffcore.h, branch v1.4.4.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.4.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.4.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2006-08-03T21:41:53Z</updated>
<entry>
<title>diff.c: do not use pathname comparison to tell renames</title>
<updated>2006-08-03T21:41:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-03T19:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ef677686efe1868432d3cc9d4c41a93b44f3def8'/>
<id>urn:sha1:ef677686efe1868432d3cc9d4c41a93b44f3def8</id>
<content type='text'>
The final output from diff used to compare pathnames between
preimage and postimage to tell if the filepair is a rename/copy.
By explicitly marking the filepair created by diffcore_rename(),
the output routine, resolve_rename_copy(), does not have to do
so anymore.  This helps feeding a filepair that has different
pathnames in one and two elements to the diff machinery (most
notably, comparing two blobs).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diffcore-rename: somewhat optimized.</title>
<updated>2006-03-12T11:22:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-12T11:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c06c79667c9514aed00d29bcd80bd0cee7cc5a25'/>
<id>urn:sha1:c06c79667c9514aed00d29bcd80bd0cee7cc5a25</id>
<content type='text'>
This changes diffcore-rename to reuse statistics information
gathered during similarity estimation, and updates the hashtable
implementation used to keep track of the statistics to be
denser.  This seems to give better performance.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diffcore-break: similarity estimator fix.</title>
<updated>2006-03-04T21:26:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-04T09:03:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4d0f39cecf93222401a81216e5cf2528e8abc6ae'/>
<id>urn:sha1:4d0f39cecf93222401a81216e5cf2528e8abc6ae</id>
<content type='text'>
This is a companion patch to the previous fix to diffcore-rename.
The merging-back process should use a logic similar to what is used
there.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diffcore-rename: split out the delta counting code.</title>
<updated>2006-03-01T04:20:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-01T00:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=65416758cd83772f2f3c69f1bd1f501608e64745'/>
<id>urn:sha1:65416758cd83772f2f3c69f1bd1f501608e64745</id>
<content type='text'>
This is to rework diffcore break/rename/copy detection code
so that it does not affected when deltifier code gets improved.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diffcore-break/diffcore-rename: integer overflow.</title>
<updated>2006-01-16T05:08:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-16T05:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ee3d299e93450586d12f099913261ec22849365a'/>
<id>urn:sha1:ee3d299e93450586d12f099913261ec22849365a</id>
<content type='text'>
While reviewing the end user tutorial rewrite by J. Bruce
Fields, I noticed that "git-diff-tree -B -C" did not correctly
break the total rewrite of Documentation/tutorial.txt.  It turns
out that we had integer overflow during the break score
computations.

Cop out by using floating point.  This is not a kernel.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Diff: -l&lt;num&gt; to limit rename/copy detection.</title>
<updated>2005-09-25T06:50:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-21T07:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8082d8d3050e3fdd7b0f13c7a7b3ad68af7f478a'/>
<id>urn:sha1:8082d8d3050e3fdd7b0f13c7a7b3ad68af7f478a</id>
<content type='text'>
When many paths are modified, rename detection takes a lot of time.
The new option -l&lt;num&gt; can be used to disable rename detection when
more than &lt;num&gt; paths are possibly created as renames.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Revert "[PATCH] plug memory leak in diff.c::diff_free_filepair()"</title>
<updated>2005-09-14T21:06:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-14T21:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=19397b4521bcc27eb224413fb71519223b94290f'/>
<id>urn:sha1:19397b4521bcc27eb224413fb71519223b94290f</id>
<content type='text'>
This reverts 068eac91ce04b9aca163acb1927c3878c45d1a07 commit.
</content>
</entry>
<entry>
<title>[PATCH] plug memory leak in diff.c::diff_free_filepair()</title>
<updated>2005-08-14T01:28:55Z</updated>
<author>
<name>Yasushi SHOJI</name>
<email>yashi@atmark-techno.com</email>
</author>
<published>2005-08-13T10:58:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=068eac91ce04b9aca163acb1927c3878c45d1a07'/>
<id>urn:sha1:068eac91ce04b9aca163acb1927c3878c45d1a07</id>
<content type='text'>
When I run git-diff-tree on big change, it seems the command eats so
much memory.  so I just put git under valgrind to see what's going on.
diff_free_filespec_data() doesn't free diff_filespec itself.

[jc: I ended up doing things slightly differently from Yasushi's
patch.  The original idea was to use free_filespec_data() only to
free the data portion and keep useing the filespec itself, but
no existing code seems to do things that way, so I just yanked
that part out.]

Signed-off-by: Yasushi SHOJI &lt;yashi@atmark-techno.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Re-Fix SIGSEGV on unmerged files in git-diff-files -p</title>
<updated>2005-06-13T03:29:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-13T00:23:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=dc7090efbc8280e482a6b2dc7419e525cbc3c5d7'/>
<id>urn:sha1:dc7090efbc8280e482a6b2dc7419e525cbc3c5d7</id>
<content type='text'>
When an unmerged path was fed via diff_unmerged() into diffcore,
it eventually called run_diff() with "one" and "two" parameters
with NULL, but run_diff() was not written carefully enough to
notice this situation.

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>Fix SIGSEGV on unmerged files in git-diff-files -p</title>
<updated>2005-06-08T18:31:53Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-08T18:31:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f9e7750621ca5e067f58a679caff5ff2f9881c4c'/>
<id>urn:sha1:f9e7750621ca5e067f58a679caff5ff2f9881c4c</id>
<content type='text'>
NULL is not considered a VALID pathspec.
</content>
</entry>
</feed>
