Thread (7 messages) flat view 7 messages, 2 authors, 2016-09-30

Re: [PATCH v3 2/5] ref-filter: add function to print single ref_array_item

From: Jakub Narębski <hidden>
Date: 2016-09-30 23:12:41

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)
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help