git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] graph API: Added logic for colored edges

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 9, 2009, 00:29 UTC
Message-ID
<7vocv6is9g.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20090408214129.GA20764@linux.vnet>
Allan Caffee <allan.caffee@gmail.com> writes:
Show 7 quoted lines
> The problem with making it an index into the column_colors array is that
> we don't have a convenient place to test whether the user actually wants
> color.  We can't do it in strbuf_write_column because AFAIK there's no
> way to get the rev-info to test the options.  I suppose we could define
> GIT_NOT_A_COLOR to -1 and just set the color to that when we don't
> intend to use color.  (Either way I should probably change that to an
> unsigned short.)  What do you think?
Sounds sensible.
Previous: Allan CaffeeNext: Allan Caffee
Message 4 of 13 in “graph API: Added logic for colored edges”
  1. graph API: Added logic for colored edgesAllan Caffee, Apr 7, 2009
  2. Junio C HamanoApr 8, 2009
  3. Allan CaffeeApr 8, 2009
  4. Junio C HamanoApr 9, 2009
  5. graph API: Added logic for colored edgesAllan Caffee, Apr 9, 2009
  6. Junio C HamanoApr 12, 2009
  7. Allan CaffeeApr 12, 2009
  8. Junio C HamanoApr 12, 2009
  9. graph API: Added logic for colored edgesAllan Caffee, Apr 12, 2009
  10. Junio C HamanoApr 12, 2009
  11. graph API: Added logic for colored edgesAllan Caffee, Apr 13, 2009
  12. Teemu LikonenApr 9, 2009
  13. Allan CaffeeApr 9, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.