Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [RFC] Refspec patterns with * in the middle

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:19

Daniel Barkalow [off-list ref] writes:
The issue, in my case, is importing from a system where branches contain 
projects instead of projects containing branches (and everything is a 
single namespace). So I want to match an insane (for us) LHS with a sane 
RHS to get stuff into reasonable shape. I don't really care about any 
patterns where the branch identifier is multiple components, but I 
wouldn't be surprised if somebody did.
Isn't this just getting more and more insane?  Is this really worth
supporting, I have to wonder...
Oh, and it looks like "?" is reserved and currently unused, so we could 
have * match one or more full path components, and ? match partial path 
components.
Well, "?" is not allowed exactly because it often is used to match a
single character by things like for-each-ref.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help