summaryrefslogtreecommitdiff
path: root/tests/notes/notesref.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-06-06 14:11:44 +0200
committerPatrick Steinhardt <ps@pks.im>2019-06-06 14:44:43 +0200
commitd81e7866aba52625aa3100764d77c73adba58c8e (patch)
tree2ed857329b7202fd5b268ac0a103bd5bf320a558 /tests/notes/notesref.c
parentb6967c393aaa9bc8fcb1f248f94a4deb897248cb (diff)
downloadlibgit2-d81e7866aba52625aa3100764d77c73adba58c8e.tar.gz
ignore: handle escaped trailing whitespace
The gitignore's pattern format specifies that "Trailing spaces are ignored unless they are quoted with backslash ("\")". We do not honor this currently and will treat a pattern "foo\ " as if it was "foo\" only and a pattern "foo\ \ " as "foo\ \". Fix our code to handle those special cases and add tests to avoid regressions.
Diffstat (limited to 'tests/notes/notesref.c')
0 files changed, 0 insertions, 0 deletions