Thread (25 messages) flat view 25 messages, 3 authors, 2016-06-15

Re: [PATCH v3 09/13] print the line log

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:07

Bo Yang [off-list ref] writes:
+static void flush_lines(struct diff_options *opt, const char **ptr, const char *end,
+		int slno, int elno, int *lno, const char *color, const char heading)
+{
+	const char *p = *ptr;
+	struct strbuf buf = STRBUF_INIT;
+	const char *reset;
+
+	if (strcmp(color, ""))
Did you mean "if (*color)"?
+	/*
+	 * todo: when --graph landed on master, this should be changed
+	 * a little.
+	 */
Hmm, don't we already have it?
+static void diff_flush_filepair(struct rev_info *rev, struct diff_line_range *range)
+{
+...
+}
Looks suspiciously familiar...  Cut-and-paste without refactoring?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help