]> git.ipfire.org Git - thirdparty/git.git/blobdiff - list-objects-filter-options.h
strmap: enable allocations to come from a mem_pool
[thirdparty/git.git] / list-objects-filter-options.h
index 73fffa4ad746a31a4a798d05f38452f1916b365d..01767c3c968f33440aac3095a25d8cc08bec3659 100644 (file)
@@ -17,6 +17,12 @@ enum list_objects_filter_choice {
        LOFC__COUNT /* must be last */
 };
 
+/*
+ * Returns a configuration key suitable for describing the given object filter,
+ * e.g.: "blob:none", "combine", etc.
+ */
+const char *list_object_filter_config_name(enum list_objects_filter_choice c);
+
 struct list_objects_filter_options {
        /*
         * 'filter_spec' is the raw argument value given on the command line