completion: don't disambiguate short refs
[gitweb.git] / ref-filter.h
index fc55fa3574620bfdc76b2997afc56909528e2275..7b05592baf00661a08f973d0a218f7e0afd99453 100644 (file)
@@ -109,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  */