Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter: fix FilterSource bugs #1244

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Conversation

pmrowla
Copy link
Contributor

@pmrowla pmrowla commented Nov 8, 2023

Follow up for #1237

  • Exposes FilterSource.mode which was documented but missing a getter
  • Fixes potential NULL FilterSource.repo handling and FilterSource.repo refcounting
  • Fixes Filter.check(..., attr_values) list being shifted off by one (with an extra null/none value at index 0)

@jdavid jdavid merged commit 1f5c3b3 into libgit2:master Nov 8, 2023
6 checks passed
@pmrowla pmrowla deleted the filter-cleanup branch November 8, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants