From: Junio C Hamano <gitster@pobox.com>
To: crquan@gmail.com
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/2] git-remote: add verbose mode
Date: Mon, 17 Nov 2008 02:15:46 -0800 [thread overview]
Message-ID: <7vhc66zmi5.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 1226913150-26088-2-git-send-email-crquan@gmail.com
crquan@gmail.com writes:
> From: Denis ChengRq <crquan@gmail.com>
>
> Signed-off-by: Cheng Renquan <crquan@gmail.com>
Your other one (I am assuming the other one is also from you) has "From:
Cheng Renquan <crquan@gmail.com>" and this is "From: Denis ChengRq
<crquan@gmail.com>". We'd prefer to keep the same person under a single
name in "git shortlog" list. Under which name do you want to be known?
Please describe in what sense this is "verbose", iow, what additional
information is added by this patch, in your proposed commit log message.
> @@ -40,10 +40,13 @@ static int opt_parse_track(const struct option *opt, const char *arg, int not)
> return 0;
> }
>
> -static int fetch_remote(const char *name)
> +static int fetch_remote(const char *name, const char *url)
> {
> const char *argv[] = { "fetch", name, NULL };
> - printf("Updating %s\n", name);
> + if (verbose)
> + printf("Updating %s (%s)\n", name, url);
Are you guaranteeing that url is not NULL at this point in the code?
If so how?
How does this "--verbose" command the users give "git remote" relate to
the "--verbose" option the underlying "git fetch" has? IOW, do you tell
"git fetch" to be verbose as well? If so, how? If not, why not?
next prev parent reply other threads:[~2008-11-17 10:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 9:12 [PATCH 1/2] remote short help message updated crquan
2008-11-17 9:12 ` [PATCH 2/2] git-remote: add verbose mode crquan
2008-11-17 10:15 ` Junio C Hamano [this message]
2008-11-17 10:15 ` [PATCH 1/2] remote short help message updated Junio C Hamano
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=7vhc66zmi5.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=crquan@gmail.com \
--cc=git@vger.kernel.org \
/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).