<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/xdiff, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-04-23T02:02:12Z</updated>
<entry>
<title>Fix typos / spelling in comments</title>
<updated>2009-04-23T02:02:12Z</updated>
<author>
<name>Mike Ralphson</name>
<email>mike@abacus.co.uk</email>
</author>
<published>2009-04-17T18:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ea3c215c02dc4a4e7d0881c25b2223540960797'/>
<id>urn:sha1:3ea3c215c02dc4a4e7d0881c25b2223540960797</id>
<content type='text'>
Signed-off-by: Mike Ralphson &lt;mike@abacus.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix various dead stores found by the clang static analyzer</title>
<updated>2009-03-16T01:25:24Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2009-03-15T21:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e24cbaeafc7eed709e251fda1673ffea84edfb1'/>
<id>urn:sha1:8e24cbaeafc7eed709e251fda1673ffea84edfb1</id>
<content type='text'>
http-push.c::finish_request():
  request is initialized by the for loop

index-pack.c::free_base_data():
  b is initialized by the for loop

merge-recursive.c::process_renames():
  move compare to narrower scope, and remove unused assignments to it
  remove unused variable renames2

xdiff/xdiffi.c::xdl_recs_cmp():
  remove unused variable ec

xdiff/xemit.c::xdl_emit_diff():
  xche is always overwritten

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 'js/patience-diff'</title>
<updated>2009-01-24T05:51:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-24T05:51:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5dc1308562ab5991ecada68b06707709bea408c9'/>
<id>urn:sha1:5dc1308562ab5991ecada68b06707709bea408c9</id>
<content type='text'>
* js/patience-diff:
  bash completions: Add the --patience option
  Introduce the diff option '--patience'
  Implement the patience diff algorithm

Conflicts:
	contrib/completion/git-completion.bash
</content>
</entry>
<entry>
<title>Merge branch 'kc/maint-diff-bwi-fix'</title>
<updated>2009-01-22T01:07:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-22T01:07:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a01387b9714452ebcae431705a288e1a7e099c3'/>
<id>urn:sha1:9a01387b9714452ebcae431705a288e1a7e099c3</id>
<content type='text'>
* kc/maint-diff-bwi-fix:
  Fix combined use of whitespace ignore options to diff
</content>
</entry>
<entry>
<title>Fix combined use of whitespace ignore options to diff</title>
<updated>2009-01-20T05:21:58Z</updated>
<author>
<name>Keith Cascio</name>
<email>keith@CS.UCLA.EDU</email>
</author>
<published>2009-01-19T18:03:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d12acefd5ac0cd688bcc77470bb1d73859cdab1'/>
<id>urn:sha1:6d12acefd5ac0cd688bcc77470bb1d73859cdab1</id>
<content type='text'>
The code used to misbehave when options to ignore certain whitespaces
(-w -b and --ignore-at-eol) were combined.

Signed-off-by: Keith Cascio &lt;keith@cs.ucla.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Implement the patience diff algorithm</title>
<updated>2009-01-07T21:35:44Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-01-07T17:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=92b7de93fb7801570ddc3195f03f30b9c201a3bd'/>
<id>urn:sha1:92b7de93fb7801570ddc3195f03f30b9c201a3bd</id>
<content type='text'>
The patience diff algorithm produces slightly more intuitive output
than the classic Myers algorithm, as it does not try to minimize the
number of +/- lines first, but tries to preserve the lines that are
unique.

To this end, it first determines lines that are unique in both files,
then the maximal sequence which preserves the order (relative to both
files) is extracted.

Starting from this initial set of common lines, the rest of the lines
is handled recursively, with Myers' algorithm as a fallback when
the patience algorithm fails (due to no common unique lines).

This patch includes memory leak fixes by Pierre Habouzit.

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>diff: add option to show context between close hunks</title>
<updated>2008-12-29T09:05:21Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2008-12-28T18:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d0e674a575421347abe5749e645ca6dc78c8207'/>
<id>urn:sha1:6d0e674a575421347abe5749e645ca6dc78c8207</id>
<content type='text'>
Merge two hunks if there is only the specified number of otherwise unshown
context between them.  For --inter-hunk-context=1, the resulting patch has
the same number of lines but shows uninterrupted context instead of a
context header line in between.

Patches generated with this option are easier to read but are also more
likely to conflict if the file to be patched contains other changes.

This patch keeps the default for this option at 0.  It is intended to just
make the feature available in order to see its advantages and downsides.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>xdiff: give up scanning similar lines early</title>
<updated>2008-12-03T07:45:37Z</updated>
<author>
<name>Davide Libenzi</name>
<email>davidel@xmailserver.org</email>
</author>
<published>2008-11-08T05:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=733070bea9ce28d557f0b0950acc05b3fe6ff6c6'/>
<id>urn:sha1:733070bea9ce28d557f0b0950acc05b3fe6ff6c6</id>
<content type='text'>
In a corner case of large files whose lines do not match uniquely, the
loop to eliminate a line that matches multiple locations adjacent to a run
of lines that do not uniquely match wasted too much cycles.  Fix this by
giving up early after scanning 100 lines in both direction.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dl/xdiff'</title>
<updated>2008-11-13T05:51:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-11-13T05:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ac2abb49ce1afdb0ba5b52bb18d04671a325c6c0'/>
<id>urn:sha1:ac2abb49ce1afdb0ba5b52bb18d04671a325c6c0</id>
<content type='text'>
* dl/xdiff:
  xdiff: give up scanning similar lines early
</content>
</entry>
<entry>
<title>xdiff: give up scanning similar lines early</title>
<updated>2008-11-08T17:28:30Z</updated>
<author>
<name>Davide Libenzi</name>
<email>davidel@xmailserver.org</email>
</author>
<published>2008-11-08T05:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9b28d55401a529ff08c709f42f66e765c93b0a20'/>
<id>urn:sha1:9b28d55401a529ff08c709f42f66e765c93b0a20</id>
<content type='text'>
In a corner case of large files whose lines do not match uniquely, the
loop to eliminate a line that matches multiple locations adjacent to a run
of lines that do not uniquely match wasted too much cycles.  Fix this by
giving up early after scanning 100 lines in both direction.

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