ref-filter: implement '--contains' option
[gitweb.git] / ref-filter.h
index 443cfa7179290c821ee75820a9715047b8057906..6bf27d8bc4a0b32c0c457b34b3a36e457f89b029 100644 (file)
@@ -31,6 +31,7 @@ struct ref_array_item {
        unsigned char objectname[20];
        int flag;
        const char *symref;
+       struct commit *commit;
        struct atom_value *value;
        char refname[FLEX_ARRAY];
 };
@@ -43,6 +44,16 @@ struct ref_array {
 struct ref_filter {
        const char **name_patterns;
        struct sha1_array points_at;
+       struct commit_list *with_commit;
+
+       enum {
+               REF_FILTER_MERGED_NONE = 0,
+               REF_FILTER_MERGED_INCLUDE,
+               REF_FILTER_MERGED_OMIT
+       } merge;
+       struct commit *merge_commit;
+
+       unsigned int with_commit_tag_algo : 1;
 };
 
 struct ref_filter_cbdata {