<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/diff.c, branch v1.5.6.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.6.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.6.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2008-07-16T21:03:24Z</updated>
<entry>
<title>Fix buffer overflow in git diff</title>
<updated>2008-07-16T21:03:24Z</updated>
<author>
<name>Dmitry Potapov</name>
<email>dpotapov@gmail.com</email>
</author>
<published>2008-07-16T14:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=fd55a19eb1d49ae54008d932a65f79cd6fda45c9'/>
<id>urn:sha1:fd55a19eb1d49ae54008d932a65f79cd6fda45c9</id>
<content type='text'>
If PATH_MAX on your system is smaller than a path stored, it may cause
buffer overflow and stack corruption in diff_addremove() and diff_change()
functions when running git-diff

Signed-off-by: Dmitry Potapov &lt;dpotapov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: Use 'git_config_string' to get 'diff.external'</title>
<updated>2008-07-06T00:42:34Z</updated>
<author>
<name>Brian Hetro</name>
<email>whee@smaertness.net</email>
</author>
<published>2008-07-05T05:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=daec808cc61af32de789a31dd5c96001915c3f2d'/>
<id>urn:sha1:daec808cc61af32de789a31dd5c96001915c3f2d</id>
<content type='text'>
Signed-off-by: Brian Hetro &lt;whee@smaertness.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff --check: do not discard error status upon seeing a good line</title>
<updated>2008-06-26T20:26:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-26T20:16:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=18374e584ca7a820457c1d83ee99867c216e7b75'/>
<id>urn:sha1:18374e584ca7a820457c1d83ee99867c216e7b75</id>
<content type='text'>
"git diff --check" should return non-zero when there was any whitespace
error but the code only paid attention to the error status of the last
new line in the patch.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2008-06-17T00:39:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-17T00:39:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5f54de5bd07481f6d88e8dbd5551f3356ecbf513'/>
<id>urn:sha1:5f54de5bd07481f6d88e8dbd5551f3356ecbf513</id>
<content type='text'>
* maint:
  diff.c: fix emit_line() again not to add extra line
</content>
</entry>
<entry>
<title>diff.c: fix emit_line() again not to add extra line</title>
<updated>2008-06-17T00:37:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-17T00:37:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4afbcab9898ce63ad641dd0de6e9b69deda44330'/>
<id>urn:sha1:4afbcab9898ce63ad641dd0de6e9b69deda44330</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2008-06-16T23:14:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-16T23:14:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9dc784a970ba5cc3871f7244c6bf6a823754f0a0'/>
<id>urn:sha1:9dc784a970ba5cc3871f7244c6bf6a823754f0a0</id>
<content type='text'>
* maint:
  diff: reset color before printing newline
</content>
</entry>
<entry>
<title>diff: reset color before printing newline</title>
<updated>2008-06-16T22:22:09Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder@ira.uka.de</email>
</author>
<published>2008-06-16T22:00:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=06ff64ae3d8c1d446ff61cff78a8faa3a07bfe24'/>
<id>urn:sha1:06ff64ae3d8c1d446ff61cff78a8faa3a07bfe24</id>
<content type='text'>
It worked that way since commit 50f575fc (Tweak diff colors,
2006-06-22), but commit c1795bb0 (Unify whitespace checking, 2007-12-13)
changed it.  This patch restores the old behaviour.

Besides Linus' arguments in the log message of 50f575fc, resetting color
before printing newline is also important to keep 'git add --patch'
happy.  If the last line(s) of a file are removed, then that hunk will
end with a colored line.  However, if the newline comes before the color
reset, then the diff output will have an additional line at the end
containing only the reset sequence.  This causes trouble in
git-add--interactive.perl's parse_diff function, because @colored will
have one more element than @diff, and that last element will contain the
color reset.  The elements of these arrays will then be copied to @hunk,
but only as many as the number of elements in @diff.  As a result the
last color reset is lost and all subsequent terminal output will be
printed in color.

Signed-off-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/config-cb'</title>
<updated>2008-05-25T21:25:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-05-25T21:25:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9bd81e4249a419f9cde8fd68e033e263533f4914'/>
<id>urn:sha1:9bd81e4249a419f9cde8fd68e033e263533f4914</id>
<content type='text'>
* js/config-cb:
  Provide git_config with a callback-data parameter

Conflicts:

	builtin-add.c
	builtin-cat-file.c
</content>
</entry>
<entry>
<title>diff options: Introduce --ignore-submodules</title>
<updated>2008-05-15T23:12:40Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-05-14T17:03:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=50fd9bd8430a957ea6c6674ce6112f375985abbc'/>
<id>urn:sha1:50fd9bd8430a957ea6c6674ce6112f375985abbc</id>
<content type='text'>
The new option --ignore-submodules can now be used to ignore changes in
submodules.

Why?  Sometimes it is not interesting when a submodule changed.

For example, when reordering some commits in the superproject, a dirty
submodule is usually totally uninteresting.  So we will use this option
in git-rebase to test for a dirty working tree.

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 'jk/renamelimit' (early part)</title>
<updated>2008-05-14T19:37:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-05-14T19:37:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=adf59ec127f447aa83c84f9dbe2ae4e6417f3760'/>
<id>urn:sha1:adf59ec127f447aa83c84f9dbe2ae4e6417f3760</id>
<content type='text'>
* 'jk/renamelimit' (early part):
  diff: make "too many files" rename warning optional
  bump rename limit defaults
  add merge.renamelimit config option
</content>
</entry>
</feed>
