W dniu 01.10.2016 o 00:18, santiago@nyu.edu pisze:
From: Lukas Puehringer <redacted>
ref-filter functions are useful for printing git object information
using a format specifier. However, some other modules may not want to use
this functionality on a ref-array but only print a single item.
Expose a format_ref function to create, pretty print and free individual
ref-items.
It's now pretty_print_ref, not format_ref (old version in commit message).
[...]
+void pretty_print_ref(const char *name, const unsigned char *sha1,
+ const char *format, unsigned kind)