Re: [PATCH 2/3] git-fetch: do not use "*" for fetching multiple refs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Wednesday, December 6, 2006 - 2:16 pm

Am Mittwoch, den 06.12.2006, 17:58 +0100 schrieb Jakub Narebski:
...
I had the same idea after the sed problems with macos/solaris, but
embedded perl is really a bit horrible.

...
Then we could just use (.*) and \1..9 and use extended REs. The only
problem is this stupid sed thing, only GNU-sed has the -r
option to use extended REs.

I would prefer the following ways to do this globfetch stuff:

1.) The original refspec:
    Pull: refs/heads/master:refs/remotes/origin/master

2.) The one with "prefix match":
    Pull: refs/heads/:refs/remotes/origin/

3.) The one with extended regex:
    Pull: refs/heads/(.*):refs/remotes/origin/\1



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/3] git-fetch: do not use "*" for fetching multi..., Johannes Schindelin, (Wed Dec 6, 7:21 pm)
Re: [PATCH 2/3] git-fetch: do not use "*" for fetching multi..., Michael Loeffler, (Wed Dec 6, 2:16 pm)