From: Christian Couder <chriscool@tuxfamily.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, John Tapsell <johnflux@gmail.com>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: [PATCH 2/2] bisect--helper: string output variables together with "&&"
Date: Mon, 30 Mar 2009 06:18:18 +0200 [thread overview]
Message-ID: <200903300618.19041.chriscool@tuxfamily.org> (raw)
In-Reply-To: <20090329115547.91e2de5b.chriscool@tuxfamily.org>
Le dimanche 29 mars 2009, Christian Couder a écrit :
> -static void show_tried_revs(struct commit_list *tried)
> +static void show_tried_revs(struct commit_list *tried, int stringed)
> {
> + char *last_format = stringed ? "%s &&" : "%s";
> +
> printf("bisect_tried='");
> for (;tried; tried = tried->next) {
> - char *format = tried->next ? "%s|" : "%s";
> + char *format = tried->next ? "%s|" : last_format;
> printf(format, sha1_to_hex(tried->item->object.sha1));
> }
> printf("'\n");
Ooops, sorry, this is wrong I will send an updaed series.
Best regards,
Christian.
next prev parent reply other threads:[~2009-03-30 4:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-29 9:55 [PATCH 2/2] bisect--helper: string output variables together with "&&" Christian Couder
2009-03-30 4:18 ` Christian Couder [this message]
2009-03-30 4:59 Christian Couder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903300618.19041.chriscool@tuxfamily.org \
--to=chriscool@tuxfamily.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=johnflux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).