ref-filter: move get_head_description() from branch.c
[gitweb.git] / ref-filter.h
index fc55fa3574620bfdc76b2997afc56909528e2275..f78323de0cac32d08b2ef961a316a5001355dee9 100644 (file)
@@ -108,5 +108,7 @@ int parse_opt_ref_sorting(const struct option *opt, const char *arg, int unset);
 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);
+/*  Get the current HEAD's description */
+char *get_head_description(void);
 
 #endif /*  REF_FILTER_H  */