summaryrefslogtreecommitdiff
path: root/cmake/Modules/FindLIBSSH2.cmake
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-05 18:25:38 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-12-05 20:13:24 +0100
commite05b2ff127e57eaed9900ddd7b9ac199d43268f8 (patch)
tree0d553f7411300bbe6d9d6636420cba2d39c7b8a0 /cmake/Modules/FindLIBSSH2.cmake
parente0a97416d417895cb94d519ad0f16942051d302b (diff)
downloadlibgit2-e05b2ff127e57eaed9900ddd7b9ac199d43268f8.tar.gz
ignore: match git's rule negation rulescmn/neg-ignore-dir
A rule can only negate something which was explicitly mentioned in the rules before it. Change our parsing to ignore a negative rule which does not negate something mentioned in the rules above it. While here, fix a wrong allocator usage. The memory for the match string comes from pool allocator. We must not free it with the general allocator. We can instead simply forget the string and it will be cleaned up.
Diffstat (limited to 'cmake/Modules/FindLIBSSH2.cmake')
0 files changed, 0 insertions, 0 deletions