Thread (23 messages) 23 messages, 2 authors, 2016-08-29

Re: [PATCH v6 03/13] pkt-line: add packet_write_fmt_gently()

From: Stefan Beller <hidden>
Date: 2016-08-25 18:12:31

quoted hunk ↗ jump to hunk
+int packet_write_fmt_gently(int fd, const char *fmt, ...)
+{
+       static struct strbuf buf = STRBUF_INIT;
+       va_list args;
+
+       strbuf_reset(&buf);
+       va_start(args, fmt);
+       format_packet(&buf, fmt, args);
format_packet also takes care of tracing the contents,
which was a bit unexpected to me.
Do we also want to trace failure?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help