diff options
author | Lukas Puehringer <luk.puehringer@gmail.com> | 2017-01-18 02:37:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-18 03:10:22 +0300 |
commit | 2111aa794bb420f767895682232b494d3461ab31 (patch) | |
tree | 4d3c95589c1045888eb23de32d43ba2a06e6605b /builtin | |
parent | 94240b918f70560393516aa8f98edb877d582c69 (diff) |
ref-filter: add function to print single ref_array_item
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 pretty_print_ref function to create, pretty print and free
individual ref-items.
Signed-off-by: Lukas Puehringer <luk.puehringer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions