<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/graph.c, branch v1.7.6.3</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.6.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.6.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2011-04-05T06:20:39Z</updated>
<entry>
<title>Share color list between graph and show-branch</title>
<updated>2011-04-05T06:20:39Z</updated>
<author>
<name>Dan McGee</name>
<email>dpmcgee@gmail.com</email>
</author>
<published>2011-04-05T05:40:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7cd52b5b4bf3be1f5d33fed889af186aae1ea7b8'/>
<id>urn:sha1:7cd52b5b4bf3be1f5d33fed889af186aae1ea7b8</id>
<content type='text'>
This also adds the new colors to show-branch that were added a while
back for graph output.

Signed-off-by: Dan McGee &lt;dpmcgee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rev-list/log: factor out revision mark generation</title>
<updated>2011-03-09T21:50:54Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2011-03-07T12:31:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1df2d656cc442dc057e30b6fb130967e5ae19654'/>
<id>urn:sha1:1df2d656cc442dc057e30b6fb130967e5ae19654</id>
<content type='text'>
Currently, we have identical code for generating revision marks ('&lt;',
'&gt;', '-') in 5 places.

Factor out the code to a single function get_revision_mark() for easier
maintenance and extensibility.

Note that the check for !!revs in graph.c (which gets removed
effectively by this patch) is superfluous.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-08-23T03:18:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-08-23T03:18:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bc38219f50ba9228945fba8e900d636f15082f16'/>
<id>urn:sha1:bc38219f50ba9228945fba8e900d636f15082f16</id>
<content type='text'>
* maint:
  Typos in code comments, an error message, documentation
</content>
</entry>
<entry>
<title>Typos in code comments, an error message, documentation</title>
<updated>2010-08-22T20:25:08Z</updated>
<author>
<name>Ralf Wildenhues</name>
<email>Ralf.Wildenhues@gmx.de</email>
</author>
<published>2010-08-22T11:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=22e5e58a3c75b73764b860907e4d871195f276ac'/>
<id>urn:sha1:22e5e58a3c75b73764b860907e4d871195f276ac</id>
<content type='text'>
Signed-off-by: Ralf Wildenhues &lt;Ralf.Wildenhues@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Enable custom schemes for column colors in the graph API</title>
<updated>2010-07-13T23:33:02Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-07-13T21:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1e3d4119d21df2812584a09a18d35414efbc1336'/>
<id>urn:sha1:1e3d4119d21df2812584a09a18d35414efbc1336</id>
<content type='text'>
Currently, the graph code is hardcoded to use ANSI color escapes for
coloring the column characters in the generated graphs. This patch
allows a custom scheme of colors to be set at runtime, allowing
different types of color escapes to be used.

A new function - graph_set_column_colors() - is added to the graph.h API,
which allows a custom column_colors array (and column_colors_max value)
to replace the builtin ANSI array (and _max value). The new function -
if used - must be called before graph_init() is called.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make graph_next_line() available in the graph.h API</title>
<updated>2010-07-13T23:32:30Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-07-13T21:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6bdc17d9a69bdd736901b115841479f5782a510e'/>
<id>urn:sha1:6bdc17d9a69bdd736901b115841479f5782a510e</id>
<content type='text'>
In order to successfully use the graph API from a context other than the
stdout/command-line scenario (where the graph_show_* functions are
suitable), we need direct access to graph_next_line(), to drive the
graph drawing process.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>graph.c: register a callback for graph output</title>
<updated>2010-06-01T01:02:07Z</updated>
<author>
<name>Bo Yang</name>
<email>struggleyb.nku@gmail.com</email>
</author>
<published>2010-05-26T07:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b5a4de9d506030fce1b70a06dc49090a46877c3f'/>
<id>urn:sha1:b5a4de9d506030fce1b70a06dc49090a46877c3f</id>
<content type='text'>
It will look better if the 'git log --graph' print
the graph pading lines before the diff output just
like what it does for commit message.
And this patch leverage the new diff prefix callback
function to achieve this.

Signed-off-by: Bo Yang &lt;struggleyb.nku@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add GIT_COLOR_BOLD_* and GIT_COLOR_BG_*</title>
<updated>2010-03-07T19:09:02Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-03-07T16:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=758df17ab07a58e5b0f8effdf2d1b71fe8d79f1d'/>
<id>urn:sha1:758df17ab07a58e5b0f8effdf2d1b71fe8d79f1d</id>
<content type='text'>
Add GIT_COLOR_BOLD_* macros to set both bold and the color in one
sequence.  This saves two characters of output ("ESC [ m", minus ";")
and makes the code more readable.

Add the remaining GIT_COLOR_BG_* macros to make the list complete.
The white and black colors are not included since they look bad on most
terminals.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'as/maint-graph-interesting-fix'</title>
<updated>2009-08-27T23:59:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-08-27T23:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=24343c609926e0163c9956b89c010e907fe755ee'/>
<id>urn:sha1:24343c609926e0163c9956b89c010e907fe755ee</id>
<content type='text'>
* as/maint-graph-interesting-fix:
  Add tests for rev-list --graph with options that simplify history
  graph API: fix bug in graph_is_interesting()
</content>
</entry>
<entry>
<title>graph API: fix bug in graph_is_interesting()</title>
<updated>2009-08-21T19:41:25Z</updated>
<author>
<name>Adam Simpkins</name>
<email>simpkins@facebook.com</email>
</author>
<published>2009-08-19T02:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=beb5af43a6114b551f14bc13f1beecfe8de930d9'/>
<id>urn:sha1:beb5af43a6114b551f14bc13f1beecfe8de930d9</id>
<content type='text'>
Previously, graph_is_interesting() did not behave quite the same way as
the code in get_revision().  As a result, it would sometimes think
commits were uninteresting, even though get_revision() would return
them.  This resulted in incorrect lines in the graph output.

This change creates a get_commit_action() function, which
graph_is_interesting() and simplify_commit() both now use to determine
if a commit will be shown.  It is identical to the old simplify_commit()
behavior, except that it never calls rewrite_parents().

This problem was reported by Santi Béjar.  The following command
would exhibit the problem before, but now works correctly:

  git log --graph --simplify-by-decoration --oneline v1.6.3.3

Previously git graph did not display the output for this command
correctly between f29ac4f and 66996ec, among other places.

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