diff options
author | Russell Belfer <rb@github.com> | 2013-09-09 16:57:34 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-09-17 09:31:44 -0700 |
commit | 974774c7b00c08585b05ff87174872be005a1f29 (patch) | |
tree | cea2a1d9b29a4601b90fe23a47775eb39773dcb5 /src/blob.c | |
parent | 570ba25cb0f757f993e06df629faced32fdf2f8f (diff) | |
download | libgit2-974774c7b00c08585b05ff87174872be005a1f29.tar.gz |
Add attributes to filters and fix registry
The filter registry as implemented was too primitive to actually
work once multiple filters were coming into play. This expands
the implementation of the registry to handle multiple prioritized
filters correctly.
Additionally, this adds an "attributes" field to a filter that
makes it really really easy to implement filters that are based
on one or more attribute values. The lookup and even simple value
checking can all happen automatically without custom filter code.
Lastly, with the registry improvements, this fills out the filter
lifecycle callbacks, with initialize and shutdown callbacks that
will be called before the filter is first used and after it is
last invoked. This allows for system-wide initialization and
cleanup by the filter.
Diffstat (limited to 'src/blob.c')
0 files changed, 0 insertions, 0 deletions