Re: support comma-separated fetch specs list?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 4, 2020, 05:41 UTC
- Message-ID
- <xmqq1rh9ptka.fsf@gitster.c.googlers.com>
- In-Reply-To
- <CAKkAvaxrG0aYw-wo_WW7zSkX=mjU8ABgXGbbPCFOhMBa4WTJ+Q@mail.gmail.com>
ryenus <ryenus@gmail.com> writes:
Show 16 quoted lines
> 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?