<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/xdiff, 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-11-24T06:51:41Z</updated>
<entry>
<title>Increase length of function name buffer</title>
<updated>2006-11-24T06:51:41Z</updated>
<author>
<name>Andy Parkins</name>
<email>andyparkins@gmail.com</email>
</author>
<published>2006-11-23T10:05:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f73da29fa2be2f4bbda86e006b743b8121bdbf19'/>
<id>urn:sha1:f73da29fa2be2f4bbda86e006b743b8121bdbf19</id>
<content type='text'>
In xemit.c:xdl_emit_diff() a buffer for showing the function name as
commentary is allocated; this buffer was 40 characters.  This is a bit
small; particularly for C++ function names where there is often an
identical prefix (like void LongNamespace::LongClassName) on multiple
functions, which makes the context the same everywhere.  In other words
the context is useless.  This patch increases that buffer to 80
characters - which may still not be enough, but is better

Signed-off-by: Andy Parkins &lt;andyparkins@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>xdiff: Match GNU diff behaviour when deciding hunk comment worthiness of lines</title>
<updated>2006-10-25T19:57:33Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2006-10-25T00:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=70da769a4607dbbc4efc490287ead98175cf622b'/>
<id>urn:sha1:70da769a4607dbbc4efc490287ead98175cf622b</id>
<content type='text'>
This removes the '#' and '(' tests and adds a '$' test instead although I have
no idea what it is actually good for - but hey, if that's what GNU diff does...

Pasky only went and did as Junio sayeth.

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>xdiff/xemit.c (xdl_find_func): Elide trailing white space in a context header.</title>
<updated>2006-10-23T21:33:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-10-23T20:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=67aef034551aed0cc417e8b758a59b9978c4f3f1'/>
<id>urn:sha1:67aef034551aed0cc417e8b758a59b9978c4f3f1</id>
<content type='text'>
This removes trailing blanks from git-generated diff headers
the same way a similar patch did that for GNU diff:

  http://article.gmane.org/gmane.comp.gnu.utils.bugs/13839

That is, it removes trailing blanks on the hunk header line that
shows the function name.

Signed-off-by: Jim Meyering &lt;jim@meyering.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2006-10-17T04:58:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-10-17T04:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3453f862e1c74e400da67def9b810300ef90c3ac'/>
<id>urn:sha1:3453f862e1c74e400da67def9b810300ef90c3ac</id>
<content type='text'>
* maint:
  Fix hash function in xdiff library
</content>
</entry>
<entry>
<title>Fix hash function in xdiff library</title>
<updated>2006-10-17T04:27:44Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-10-17T02:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9de0834663f28bee9e6b2c4647ed6128241ed26f'/>
<id>urn:sha1:9de0834663f28bee9e6b2c4647ed6128241ed26f</id>
<content type='text'>
Jim Mayering noticed that xdiff library took insanely long time
when comparing files with many identical lines.

This was because the hash function used in the library is broken
on 64-bit architectures and caused too many collisions.

http://thread.gmane.org/gmane.comp.version-control.git/28962/focus=28994

Acked-by: Davide Libenzi &lt;davidel@xmaliserver.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff: fix 2 whitespace issues</title>
<updated>2006-10-12T16:30:14Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-10-12T12:22:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2344d47fba45bdddb0801ebf0789935a96e44352'/>
<id>urn:sha1:2344d47fba45bdddb0801ebf0789935a96e44352</id>
<content type='text'>
When whitespace or whitespace change was ignored, the function
xdl_recmatch() returned memcmp() style differences, which is wrong,
since it should return 0 on non-match.

Also, there were three horrible off-by-one bugs, even leading to wrong
hashes in the whitespace special handling.

The issue was noticed by Ray Lehtiniemi.

For good measure, this commit adds a test.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lt/merge-tree'</title>
<updated>2006-07-13T05:31:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-07-13T05:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=096b1732343305b7096b1085c23eba8cd83569c7'/>
<id>urn:sha1:096b1732343305b7096b1085c23eba8cd83569c7</id>
<content type='text'>
* lt/merge-tree:
  Improved three-way blob merging code
  Prepare "git-merge-tree" for future work
  xdiff: generate "anti-diffs" aka what is common to two files
</content>
</entry>
<entry>
<title>Fix more typos, primarily in the code</title>
<updated>2006-07-10T07:36:44Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2006-07-10T05:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=82e5a82fd73edb80a841f5fab1660e14b9b8f3ad'/>
<id>urn:sha1:82e5a82fd73edb80a841f5fab1660e14b9b8f3ad</id>
<content type='text'>
The only visible change is that git-blame doesn't understand
"--compability" anymore, but it does accept "--compatibility" instead,
which is already documented.

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>xdiff: generate "anti-diffs" aka what is common to two files</title>
<updated>2006-06-29T05:24:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-06-29T04:57:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a9ed376b158faf82d3685b51d546ccaeda716da3'/>
<id>urn:sha1:a9ed376b158faf82d3685b51d546ccaeda716da3</id>
<content type='text'>
This fairly trivial patch adds a new XDL_EMIT_xxx flag to tell libxdiff
that we don't want to generate the _diff_ between two files, we want to
see the lines that are _common_ to two files.

So when you set XDL_EMIT_COMMON, xdl_diff() will do everything exactly
like it used to do, but the output records it generates just contain the
lines that aren't part of the diff.

This is for doing things like generating the common base case for a file
that was added in both branches.

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>Teach diff about -b and -w flags</title>
<updated>2006-06-24T00:35:27Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-06-14T15:40:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0d21efa51cc7de5250d5da46bceacda78ba35373'/>
<id>urn:sha1:0d21efa51cc7de5250d5da46bceacda78ba35373</id>
<content type='text'>
This adds -b (--ignore-space-change) and -w (--ignore-all-space) flags to
diff. The main part of the patch is teaching libxdiff about it.

[jc: renamed xdl_line_match() to xdl_recmatch() since the former is used
 for different purposes in xpatchi.c which is in the parts of the upstream
 source we do not use.]

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
