X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=list-objects-filter-options.h;h=01767c3c968f33440aac3095a25d8cc08bec3659;hb=a208ec1f0b654390ad06372c53b7ffe785052d98;hp=73fffa4ad746a31a4a798d05f38452f1916b365d;hpb=d61aed07bd0c61420879f42b4b961785ed1f742a;p=thirdparty%2Fgit.git diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h index 73fffa4ad7..01767c3c96 100644 --- a/list-objects-filter-options.h +++ b/list-objects-filter-options.h @@ -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