diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-06-06 14:02:17 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2019-06-06 14:15:36 +0200 |
commit | b6967c393aaa9bc8fcb1f248f94a4deb897248cb (patch) | |
tree | 98f2bdcb3229e49e3efb1c536703e2297b440342 /include/git2/commit.h | |
parent | b1795e0da2c5c1f9429fedd2fa0b679ccca0f586 (diff) | |
download | libgit2-b6967c393aaa9bc8fcb1f248f94a4deb897248cb.tar.gz |
attr_file: refactor stripping of trailing spaces
The stripping of trailing spaces currently happens as part of
`git_attr_fnmatch__parse`. As we aren't currently parsing
trailing whitespaces correct in case they're escaped, we'll have
to change that code, though. To make actual behavioural change
easier to review, refactor the code up-front by pulling it out
into its own function that is expected to retain the exact same
functionality as before. Like this, the fix will be trivial to
apply.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions