<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/diff.c, branch v1.5.4.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.4.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.4.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2008-02-25T21:06:49Z</updated>
<entry>
<title>Use a single implementation and API for copy_file()</title>
<updated>2008-02-25T21:06:49Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2008-02-25T19:24:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1468bd47833c6ec3c85620d6af1d910e9378f714'/>
<id>urn:sha1:1468bd47833c6ec3c85620d6af1d910e9378f714</id>
<content type='text'>
Originally by Kristian Hï¿œgsberg; I fixed the conversion of rerere, which
had a different API.

Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: Fix miscounting of --check output</title>
<updated>2008-02-16T07:06:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-02-16T04:30:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0ef617f4b6ea78ad63dd11e90f8c854238176981'/>
<id>urn:sha1:0ef617f4b6ea78ad63dd11e90f8c854238176981</id>
<content type='text'>
c1795bb (Unify whitespace checking) incorrectly made the
checking function return without incrementing the line numbers
when there is no whitespace problem is found on a '+' line.

This resurrects the earlier behaviour.

Noticed and reported by Jay Soffian.  The test script was stolen
from Jay's independent fix.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: add "const" qualifier to "char *cmd" member of "struct ll_diff_driver"</title>
<updated>2008-02-16T05:24:54Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2008-02-16T05:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b20a60d0c0f23384cb4141d75d9a7c90e99c1432'/>
<id>urn:sha1:b20a60d0c0f23384cb4141d75d9a7c90e99c1432</id>
<content type='text'>
Also use "git_config_string" to simplify code where "cmd" is set.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: remove useless check for value != NULL</title>
<updated>2008-02-16T05:24:53Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2008-02-16T04:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2c778210f8877e8f5c88715c2d25d1a43d976566'/>
<id>urn:sha1:2c778210f8877e8f5c88715c2d25d1a43d976566</id>
<content type='text'>
It is not necessary to check if value != NULL before calling
'parse_lldiff_command' as there is already a check inside this
function.

By the way this patch also improves the existing check inside
'parse_lldiff_command' by using:
	return config_error_nonbool(var);
instead of:
	return error("%s: lacks value", var);

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: replace a 'strdup' with 'xstrdup'.</title>
<updated>2008-02-15T22:11:28Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2008-02-14T05:50:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8ca496e97d100195c9015f4da8ddaad693e91961'/>
<id>urn:sha1:8ca496e97d100195c9015f4da8ddaad693e91961</id>
<content type='text'>
Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: fixup garding of config parser from value=NULL</title>
<updated>2008-02-15T17:37:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-02-15T17:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=588071112c7ca14a04d674e4f019572f0bb77326'/>
<id>urn:sha1:588071112c7ca14a04d674e4f019572f0bb77326</id>
<content type='text'>
Christian Couder noticed that there still were a handcrafted error()
call that we should have converted to config_error_nonbool() where
parse_lldiff_command() parses the configuration file.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: guard config parser from value=NULL</title>
<updated>2008-02-11T21:11:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-02-11T18:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=64f30e948be5fb2cd2f65e91c0eab5ab4719c636'/>
<id>urn:sha1:64f30e948be5fb2cd2f65e91c0eab5ab4719c636</id>
<content type='text'>
diff.external, diff.*.command, diff.color.*, color.diff.* and
diff.*.funcname configuration variables expect a string value.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>color unchanged lines as "plain" in "diff --color-words"</title>
<updated>2008-01-18T09:29:38Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2008-01-17T15:03:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=472ca780773ac75fa6af881117ce5360957fae2d'/>
<id>urn:sha1:472ca780773ac75fa6af881117ce5360957fae2d</id>
<content type='text'>
These were mistakenly being colored in "meta" color.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Correct spelling in diff.c comment</title>
<updated>2008-01-16T19:37:58Z</updated>
<author>
<name>Bill Lear</name>
<email>rael@zopyra.com</email>
</author>
<published>2008-01-16T12:46:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9f6fe82233fff26abd1a5315ba7709ccee078ec1'/>
<id>urn:sha1:9f6fe82233fff26abd1a5315ba7709ccee078ec1</id>
<content type='text'>
Correct a spelling mistake in a comment.

Signed-off-by: Bill Lear &lt;rael@zopyra.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: do not chomp hunk-header in the middle of a character</title>
<updated>2008-01-07T06:44:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junio@pobox.com</email>
</author>
<published>2008-01-02T09:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=23707811c56a7756cbd6188e510f0a486c35c929'/>
<id>urn:sha1:23707811c56a7756cbd6188e510f0a486c35c929</id>
<content type='text'>
We truncate hunk-header line at 80 bytes, but that 80th byte
could be in the middle of a character, which is bad.  This uses
pick_one_utf8_char() function to make sure we do not cut a character
in the middle.

This assumes that the internal representation of the text is
UTF-8.  This needs to be extended in the future but the optimal
direction has not been decided yet.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
