<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/graph.c, branch v2.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.6.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-09-29T19:36:11Z</updated>
<entry>
<title>Merge branch 'rs/graph-simplify'</title>
<updated>2014-09-29T19:36:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-29T19:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0a2ba82c76e0c28d58595fbdc2c43120f821b239'/>
<id>urn:sha1:0a2ba82c76e0c28d58595fbdc2c43120f821b239</id>
<content type='text'>
* rs/graph-simplify:
  graph: simplify graph_padding_line()
</content>
</entry>
<entry>
<title>Merge branch 'rs/realloc-array'</title>
<updated>2014-09-26T21:39:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-26T21:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1c2ea2cdc0e8c4e5af942c51b234c5af527944f6'/>
<id>urn:sha1:1c2ea2cdc0e8c4e5af942c51b234c5af527944f6</id>
<content type='text'>
Code cleanup.

* rs/realloc-array:
  use REALLOC_ARRAY for changing the allocation size of arrays
  add macro REALLOC_ARRAY
</content>
</entry>
<entry>
<title>graph: simplify graph_padding_line()</title>
<updated>2014-09-22T19:39:57Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2014-09-20T18:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0176e7a71f2c722effde0ed22db3682400010911'/>
<id>urn:sha1:0176e7a71f2c722effde0ed22db3682400010911</id>
<content type='text'>
Deduplicate code common to both branches of if statements.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>use REALLOC_ARRAY for changing the allocation size of arrays</title>
<updated>2014-09-18T16:13:42Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2014-09-16T18:56:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2756ca4347cbda05b16954cd7f445c216b935e76'/>
<id>urn:sha1:2756ca4347cbda05b16954cd7f445c216b935e76</id>
<content type='text'>
Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>strbuf: use strbuf_addchars() for adding a char multiple times</title>
<updated>2014-09-08T18:26:48Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2014-09-07T07:06:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=415792edf51b2f87a58a942016a24a2e86a4218b'/>
<id>urn:sha1:415792edf51b2f87a58a942016a24a2e86a4218b</id>
<content type='text'>
Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>graph: fix coloring around octopus merges</title>
<updated>2013-10-18T19:48:48Z</updated>
<author>
<name>Hemmo Nieminen</name>
<email>hemmo.nieminen@iki.fi</email>
</author>
<published>2013-10-16T08:28:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=339c17bc7690b5436ac61c996cede3d52c85b50d'/>
<id>urn:sha1:339c17bc7690b5436ac61c996cede3d52c85b50d</id>
<content type='text'>
When drawing the graph of an octopus merge, we draw a horizontal line
from parents 3 and above into the asterisk representing the commit. The
sections of this line should be colored to match the graph lines coming
in from above.

However, if the commit is not in the left-most column we do not take
into account the columns to the left of the commit when calculating
these colors. Fix this by adding the appropriate offset to the column
index used for calculating the color.

Signed-off-by: Hemmo Nieminen &lt;hemmo.nieminen@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "graph.c: mark private file-scope symbols as static"</title>
<updated>2013-03-04T03:43:54Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-04T00:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ac751a0b4332268ad9ba69c7dd48768dbdbd25c8'/>
<id>urn:sha1:ac751a0b4332268ad9ba69c7dd48768dbdbd25c8</id>
<content type='text'>
This reverts commit ba35480439d05b8f6cca50527072194fe3278bbb.

CGit uses these symbols to output the correct HTML around graph
elements.  Making these symbols private means that CGit cannot be
updated to use Git 1.8.0 or newer, so let's not do that.

On top of the revert, also add comments so that we avoid reintroducing
this problem in the future and suggest to those modifying this API
that they might want to discuss it with the CGit developers.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Acked-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>graph: output padding for merge subsequent parents</title>
<updated>2013-02-07T20:54:26Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-02-07T20:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a48ec2415882ae15b8593185d6f9ab2f69555a9d'/>
<id>urn:sha1:a48ec2415882ae15b8593185d6f9ab2f69555a9d</id>
<content type='text'>
When showing merges in git-log, the same commit is shown once for each
parent.  Combined with "--graph" this results in graph_show_commit()
being called once for each parent without graph_update() being called.

Currently graph_show_commit() does not print anything on subsequent
invocations for the same commit (this was changed by commit 656197a -
"graph.c: infinite loop in git whatchanged --graph -m" from the previous
behaviour of looping infinitely).

Change this so that if the graph code believes it has already shown the
commit it prints a single padding line.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mk/maint-graph-infinity-loop' into maint</title>
<updated>2013-01-14T15:32:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-14T15:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6cf0a9e9fc90be167c3b2e0cda1ec67909c89ca7'/>
<id>urn:sha1:6cf0a9e9fc90be167c3b2e0cda1ec67909c89ca7</id>
<content type='text'>
* mk/maint-graph-infinity-loop:
  graph.c: infinite loop in git whatchanged --graph -m
</content>
</entry>
<entry>
<title>graph.c: infinite loop in git whatchanged --graph -m</title>
<updated>2012-09-25T18:07:15Z</updated>
<author>
<name>Michał Kiedrowicz</name>
<email>michal.kiedrowicz@gmail.com</email>
</author>
<published>2009-07-24T23:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=656197ad380506ca0e8a0355701f9d9a4a398f66'/>
<id>urn:sha1:656197ad380506ca0e8a0355701f9d9a4a398f66</id>
<content type='text'>
Running "whatchanged --graph -m" on a simple two-head merges
can fall into infinite loop.

Signed-off-by: Michał Kiedrowicz &lt;michal.kiedrowicz@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
