l10n: git.pot: v2.12.0 round 1 (239 new, 15 removed)
[gitweb.git] / ref-filter.h
index fadebc5da600320fff60f5c7c413f12bf7e1996b..7b05592baf00661a08f973d0a218f7e0afd99453 100644 (file)
@@ -29,6 +29,7 @@ struct ref_sorting {
        struct ref_sorting *next;
        int atom; /* index into used_atom array (internal) */
        unsigned reverse : 1,
+               ignore_case : 1,
                version : 1;
 };
 
@@ -36,7 +37,6 @@ struct ref_array_item {
        unsigned char objectname[20];
        int flag;
        unsigned int kind;
-       int ignore : 1; /* To be removed in the next patch */
        const char *symref;
        struct commit *commit;
        struct atom_value *value;
@@ -63,6 +63,7 @@ struct ref_filter {
 
        unsigned int with_commit_tag_algo : 1,
                match_as_path : 1,
+               ignore_case : 1,
                detached : 1;
        unsigned int kind,
                lines;
@@ -108,4 +109,11 @@ struct ref_sorting *ref_default_sorting(void);
 /*  Function to parse --merged and --no-merged options */
 int parse_opt_merge_filter(const struct option *opt, const char *arg, int unset);
 
+/*
+ * Print a single ref, outside of any ref-filter. Note that the
+ * name must be a fully qualified refname.
+ */
+void pretty_print_ref(const char *name, const unsigned char *sha1,
+               const char *format);
+
 #endif /*  REF_FILTER_H  */