Thread (3 messages) 3 messages, 2 authors, 2016-06-15

Re: [RFC/PATCH] Prettify log decorations even more

From: Jeff King <hidden>
Date: 2016-06-15 22:46:43

On Thu, May 07, 2009 at 01:45:48AM +0300, Felipe Contreras wrote:
-extern const char *prettify_ref(const struct ref *ref);
+extern const char *prettify_refname(const char *refname);
+#define prettify_ref(ref) prettify_refname((ref)->name)
I think it is an improvement for this function to take just the name,
but I don't see much point in keeping the crufty #define compatibility.
I would just fix up the few callers, as it really is just
s/ref/ref->name/.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help