<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/graph.c, branch v1.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-07-23T04:57:41Z</updated>
<entry>
<title>janitor: use NULL and not 0 for pointers.</title>
<updated>2009-07-23T04:57:41Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2009-07-22T21:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=67da52bedc5750c10a732b9da7d64d5ef73f3b8a'/>
<id>urn:sha1:67da52bedc5750c10a732b9da7d64d5ef73f3b8a</id>
<content type='text'>
Brought to you thanks to coccinelle:

    ---8&lt;----
    @@
    expression *E;
    @@
    (
      E ==
    - 0
    + NULL
    |
      E !=
    - 0
    + NULL
    |
      E =
    - 0
    + NULL
    )

    @@
    identifier f;
    type T;
    @@
    T *f(...) {
    &lt;...
    - return 0;
    + return NULL;
    ...&gt;
    }
    ---&gt;8----

There are a lot more hits in compat/nedmallox and compat/regex but these
are borrowed code we rather do not want to maintain our own forks for,
and this patch refrains from touching them.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ac/graph-horizontal-line'</title>
<updated>2009-05-18T15:59:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-18T15:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7f1eaec7f477fb3e81b9c5489d9ecf9bbefe0b8c'/>
<id>urn:sha1:7f1eaec7f477fb3e81b9c5489d9ecf9bbefe0b8c</id>
<content type='text'>
* ac/graph-horizontal-line:
  graph API: Use horizontal lines for more compact graphs
</content>
</entry>
<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>graph API: Use horizontal lines for more compact graphs</title>
<updated>2009-04-23T01:32:16Z</updated>
<author>
<name>Allan Caffee</name>
<email>allan.caffee@gmail.com</email>
</author>
<published>2009-04-21T12:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eaf158f8bd7615562e1fa84711ea465f387a3c9d'/>
<id>urn:sha1:eaf158f8bd7615562e1fa84711ea465f387a3c9d</id>
<content type='text'>
Use horizontal lines instead of long diagonal lines during the
collapsing state of graph rendering.  For example what used to be:

    | | | | |
    | | | |/
    | | |/|
    | |/| |
    |/| | |
    | | | |

is now

    | | | | |
    | |_|_|/
    |/| | |
    | | | |

This results in more compact and legible graphs.

Signed-off-by: Allan Caffee &lt;allan.caffee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>graph API: fix a bug in the rendering of octopus merges</title>
<updated>2009-04-23T00:49:56Z</updated>
<author>
<name>Allan Caffee</name>
<email>allan.caffee@gmail.com</email>
</author>
<published>2009-04-22T21:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a6c1a3827c934872726bafb35f51f2ad9b9e897f'/>
<id>urn:sha1:a6c1a3827c934872726bafb35f51f2ad9b9e897f</id>
<content type='text'>
An off by one error was causing octopus merges with 3 parents to not be
rendered correctly.  This regression was introduced by 427fc5.

Signed-off-by: Allan Caffee &lt;allan.caffee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>graph API: fix extra space during pre_commit_line state</title>
<updated>2009-04-23T00:48:42Z</updated>
<author>
<name>Allan Caffee</name>
<email>allan.caffee@gmail.com</email>
</author>
<published>2009-04-22T19:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36a31feae23ac45a130fa38b2934a74e4e7156b4'/>
<id>urn:sha1:36a31feae23ac45a130fa38b2934a74e4e7156b4</id>
<content type='text'>
An extra space is being inserted between the "commit" column and all of
the successive edges.  Remove this space.  This regression was
introduced by 427fc5b.

Signed-off-by: Allan Caffee &lt;allan.caffee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>graph API: Added logic for colored edges</title>
<updated>2009-04-14T05:41:25Z</updated>
<author>
<name>Allan Caffee</name>
<email>allan.caffee@gmail.com</email>
</author>
<published>2009-04-13T19:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=427fc5b8885d269359c8eff187925e3d49f103b4'/>
<id>urn:sha1:427fc5b8885d269359c8eff187925e3d49f103b4</id>
<content type='text'>
Modified the graph drawing logic to colorize edges based on parent-child
relationships similiarly to gitk.

Signed-off-by: Allan Caffee &lt;allan.caffee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Replace calls to strbuf_init(&amp;foo, 0) with STRBUF_INIT initializer</title>
<updated>2008-10-12T19:36:19Z</updated>
<author>
<name>Brandon Casey</name>
<email>casey@nrlssc.navy.mil</email>
</author>
<published>2008-10-09T19:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f285a2d7ed6548666989406de8f0e7233eb84368'/>
<id>urn:sha1:f285a2d7ed6548666989406de8f0e7233eb84368</id>
<content type='text'>
Many call sites use strbuf_init(&amp;foo, 0) to initialize local
strbuf variable "foo" which has not been accessed since its
declaration. These can be replaced with a static initialization
using the STRBUF_INIT macro which is just as readable, saves a
function call, and takes up fewer lines.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>graph.c: make many functions static</title>
<updated>2008-09-25T15:00:28Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2008-09-25T09:41:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=064bfbde45e5ad70a5f8a2290ff3fbed0b69f326'/>
<id>urn:sha1:064bfbde45e5ad70a5f8a2290ff3fbed0b69f326</id>
<content type='text'>
These function are not used anywhere.  Also removes graph_release()
that is never called.

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git log --graph: print '*' for all commits, including merges</title>
<updated>2008-06-06T18:56:43Z</updated>
<author>
<name>Adam Simpkins</name>
<email>adam@adamsimpkins.net</email>
</author>
<published>2008-06-05T09:28:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03300c0ac0dfd6098ff65cff518bfffb05ae4194'/>
<id>urn:sha1:03300c0ac0dfd6098ff65cff518bfffb05ae4194</id>
<content type='text'>
Previously, merge commits were printed with 'M' instead of '*'.  This
had the potential to confuse users when not all parents of the merge
commit were included in the log output.

As Junio has pointed out, merge commits can almost always be easily
identified from the log message, anyway.

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