From: Junio C Hamano <gitster@pobox.com>
To: ryenus <ryenus@gmail.com>
Cc: Git mailing list <git@vger.kernel.org>
Subject: Re: support comma-separated fetch specs list?
Date: Tue, 03 Nov 2020 21:41:41 -0800 [thread overview]
Message-ID: <xmqq1rh9ptka.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <CAKkAvaxrG0aYw-wo_WW7zSkX=mjU8ABgXGbbPCFOhMBa4WTJ+Q@mail.gmail.com> (ryenus@gmail.com's message of "Wed, 4 Nov 2020 11:11:42 +0800")
ryenus <ryenus@gmail.com> writes:
> It's nice to have negative ref spec support with 2.29 release, so now
> we can have
>
> ```
> [remote "origin"]
> fetch = +refs/heads/*:refs/remotes/origin/*
> fetch = ^refs/heads/gh-pages
> ```
>
> What about having all the fetch specs put together in one comma-separated list?
> Like this:
>
> ```
> [remote "origin"]
> fetch = +refs/heads/*:refs/remotes/origin/*,^refs/heads/gh-pages
> ```
I thought comma was a valid character that you can have in refnames,
so no, I do not think it would fly without breaking existing users.
What problem are you trying to solve?
next prev parent reply other threads:[~2020-11-04 5:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 3:11 support comma-separated fetch specs list? ryenus
2020-11-04 5:41 ` Junio C Hamano [this message]
2020-11-07 10:11 ` ryenus
2020-11-09 22:45 ` 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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq1rh9ptka.fsf@gitster.c.googlers.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=ryenus@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).