RE: [PATCH v4] git-svn: add support for prefixed globs in config
- From
- Victor 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.