From: Jonathan Tan Date: Tue, 20 Jun 2017 20:13:39 GMT Subject: Re: [PATCH 22/26] diff.c: color moved lines differently Message-ID: <20170620131339.3f56bcf0@twelve2.svl.corp.google.com> In-Reply-To: <20170620024816.20021-23-sbeller@google.com> I just glanced through this file, because it seems similar to the versions I have previously reviewed. I'll skip patches 23 onwards in this round of review because (i) I would be happy if just patches 1-22 were included in the tree and (ii) those patches might end up changing anyway because of review comments in the prior patches. On Mon, 19 Jun 2017 19:48:12 -0700 Stefan Beller wrote: > +/* Find blocks of moved code, delegate actual coloring decision to helper */ > +static void mark_color_as_moved(struct diff_options *o, > + struct hashmap *add_lines, > + struct hashmap *del_lines) > +{ [snip] > + if (flipped_block) > + l->flags |= DIFF_SYMBOL_MOVED_LINE_ZEBRA; This should probably be DIFF_SYMBOL_MOVED_LINE_ALT. "Zebra" refers to both the stripes, not just the alternate stripe.