]> git.proxmox.com Git - pathpatterns.git/commit
Fix /**/ special case for beginning-of-text matching
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 Jul 2020 12:29:28 +0000 (14:29 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 Jul 2020 12:31:18 +0000 (14:31 +0200)
commit17b7bd9f3c0c6d50b42b94b2ada75b76373388e9
tree17dc7ae1dd41d94e1efed196e383a5c8adde6c36
parentf9fbdc3b947d32f1b2e1661fcb2fe7995353a038
Fix /**/ special case for beginning-of-text matching

Git actually skipped the next slash in the pattern. Since we
don't have a Component::Slash currently we'll just add a
flag to `do_match` instead.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/pattern.rs