Re: [PATCH] git-remote: support remotes with a dot in the name
- From
- Pavel Roskin <proski@gnu.org>
- Date
- Feb 21, 2007, 07:12 UTC
- Message-ID
- <20070221021206.8onspw0840gcs8ck@webmail.spamcop.net>
- In-Reply-To
- <7vfy90t4mo.fsf@assigned-by-dhcp.cox.net>
Quoting Junio C Hamano <junkio@cox.net>:
Show 5 quoted lines
> Do you mean: > > [remote "wireless-2.6.url"] > url = wire.less:/repo/sito/ry.git > fetch = +refs/heads/*:refs/remotes/wireless-2.6.url/*
I was thinking of something like
[remote "wireless-2.6"] url = http://foo/bar url.push = ssh://foo/bar
But I think it's quite unlikely to be named like that.
> But my Perl is rusty, so please double check it.
The "(\S*?)" construct looks weird (you probably meant to use "(\S*)" for the remote name), but the rest is probably OK. I'll send the "double-checked" patch tomorrow unless you beat me at that.
-- Regards, Pavel Roskin