Thread (92 messages) 92 messages, 7 authors, 2018-06-04

Re: [PATCH v2 02/12] commit-graph: verify file header information

From: Derrick Stolee <hidden>
Date: 2018-05-14 13:31:36

On 5/12/2018 9:35 AM, Martin Ågren wrote:
+static int verify_commit_graph_error;
+
+static void graph_report(const char *fmt, ...)
+{
+       va_list ap;
+       struct strbuf sb = STRBUF_INIT;
+       verify_commit_graph_error = 1;
+
+       va_start(ap, fmt);
+       strbuf_vaddf(&sb, fmt, ap);
+
+       fprintf(stderr, "%s\n", sb.buf);
+       strbuf_release(&sb);
+       va_end(ap);
+}
That's a good idea. Makes that patch a bit less trivial and this one a 
bit less difficult.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help