git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: [PATCH v4] git-svn: add support for prefixed globs in config

From
VLVictor Leschuk <vleschuk@accesssoftek.com>
Date
Jan 10, 2016, 11:00 UTC
Message-ID
<6AE1604EE3EC5F4296C096518C6B77EE5FF2055FF4@mail.accesssoftek.com>
In-Reply-To
<20160105081513.GA32695@dcvr.yhbt.net>
Hello Eric and Junio,
Thanks a lot for the comments and sorry for the delay with the response.
I think that's reasonable to widen the applicability of globs, will do it and prepare next patch.
-                       my $pat = $1 ? "${1}[^/]+" : "[^/]*";
+                       my $pat = quotemeta($l) . '[^/]*'. quotemeta($r);
Hm, that differs from the behavior I suggested at first time: in this case the 'test*' pattern will match all of the: "test", "test0", "test1". In my case it wouldn't match "test"...
However I think that's ok.
Previous: Eric Wong
Message 4 of 4 in “git-svn: add support for prefixed globs in config”
  1. git-svn: add support for prefixed globs in configVictor Leschuk, Dec 30, 2015
  2. Junio C HamanoDec 30, 2015
  3. Eric WongJan 5, 2016
  4. Victor LeschukJan 10, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.