mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-04 13:17:16 +00:00
Per issue #533, the handling of relative paths in attribute and ignore files was not right. Fixed this by pre-joining the relative path of the attribute/ignore file onto the match string when a full path match is required. Unfortunately, fixing this required a bit more code than I would have liked because I had to juggle things around so that the fnmatch parser would have sufficient information to prepend the relative path when it was needed.
8 lines
138 B
Plaintext
8 lines
138 B
Plaintext
* subattr=yes -negattr
|
|
*.txt another=zero
|
|
sub/*.txt another=one
|
|
ab* merge=filfre
|
|
abc -foo -bar
|
|
*.c frotz
|
|
deep/file deepdeep
|