Re: [RFC/PATCH] graph API: Added logic for colored edges.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 31, 2009, 12:09 UTC
- Message-ID
- <alpine.DEB.1.00.0903311409320.7052@intel-tinevez-2-302>
- In-Reply-To
- <49D1EFF2.303@viscovery.net>
Hi,
On Tue, 31 Mar 2009, Johannes Sixt wrote:
Show 20 quoted lines
> Johannes Schindelin schrieb:
> > How about this function instead?
> >
> > static void strbuf_add_column(struct strbuf *sb,
> > const struct column *column, const char *fmt, ...)
> > {
> > va_list ap;
> >
> > va_start(ap, fmt);
> > if (column->color)
> > strbuf_addstr(sb, column->color);
> > strbuf_vaddf(sb, fmt, ap);
> > if (column->color)
> > strbuf_addstr(sb, GIT_COLOR_RESET);
> > va_end(ap);
> > }
> >
> > Hmm?
>
> Except the strbuf_vaddf() is only in your private repository ;)LOL & schenkelklopf!
You're absolutely correct... I'm sorry, Dscho