Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

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

From: Jay Soffian <hidden>
Date: 2016-06-15 22:46:19

On Mon, Mar 2, 2009 at 1:25 PM, Daniel Barkalow [off-list ref] wrote:
quoted
But the following is not:

 - foo/bar*/baz

IOW, '*' can only appear as a non-terminating symbol if it is bounded
by '/' on each side.
You have my criterion right, but I want that to be valid, but only match
things like "foo/bar-something/baz", not "foo/bar-a/b/baz".
Ah, that makes sense. Perhaps use "**" to mean matching across path
components which is what rsync does:

 o  a '*' matches any non-empty path component (it stops at slashes).
 o  use '**' to match anything, including slashes.

?

j.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help