l10n: git.pot: v2.12.0 round 1 (239 new, 15 removed)
[gitweb.git] / ref-filter.h
index a5cfa5e677dbdf17156c6287f57fa5694b9d5120..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;
 };
 
@@ -45,6 +46,7 @@ struct ref_array_item {
 struct ref_array {
        int nr, alloc;
        struct ref_array_item **items;
+       struct rev_info *revs;
 };
 
 struct ref_filter {
@@ -60,9 +62,13 @@ struct ref_filter {
        struct commit *merge_commit;
 
        unsigned int with_commit_tag_algo : 1,
-               match_as_path : 1;
+               match_as_path : 1,
+               ignore_case : 1,
+               detached : 1;
        unsigned int kind,
                lines;
+       int abbrev,
+               verbose;
 };
 
 struct ref_filter_cbdata {
@@ -103,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  */