path: root/ref-filter.h
diff options
authorJunio C Hamano <>2017-01-31 21:14:58 (GMT)
committerJunio C Hamano <>2017-01-31 21:14:58 (GMT)
commit237bdd9ddbe52eb651787af1929d8832ce37c322 (patch)
treeb01cda85ff37584fe07b2f32065b88e2d5dbe159 /ref-filter.h
parentd515fe08fc188ed5a23537a8218a32caf716ff49 (diff)
parent4fea72f4f76addb6b49ca4f5b97f66a6bda46985 (diff)
Merge branch 'st/verify-tag'
"git tag" and "git verify-tag" learned to put GPG verification status in their "--format=<placeholders>" output format. * st/verify-tag: t/t7004-tag: Add --format specifier tests t/t7030-verify-tag: Add --format specifier tests builtin/tag: add --format argument for tag -v builtin/verify-tag: add --format to verify-tag ref-filter: add function to print single ref_array_item gpg-interface, tag: add GPG_VERIFY_OMIT_STATUS flag
Diffstat (limited to 'ref-filter.h')
1 files changed, 7 insertions, 0 deletions
diff --git a/ref-filter.h b/ref-filter.h
index fc55fa3..7b05592 100644
--- a/ref-filter.h
+++ b/ref-filter.h
@@ -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 */