Re: [PATCH v2 05/94] builtin/apply: extract line_by_line_fuzzy_match() from match_fragment()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 12, 2016, 19:20 UTC
- Message-ID
- <xmqqa8jvf5gn.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160511131745.2914-6-chriscool@tuxfamily.org>
Christian Couder <christian.couder@gmail.com> writes:
Show 7 quoted lines
> The match_fragment() function is very big and contains a big special case > algorithm that does line by line fuzzy matching. So let's extract this > algorithm in a separate line_by_line_fuzzy_match() function. > > Reviewed-by: Stefan Beller <sbeller@google.com> > Signed-off-by: Christian Couder <chriscool@tuxfamily.org> > ---
Looks good.
I am puzzled by the "git blame -w -M" output after applying this patch, though. The body of the new function came more or less verbatim from the origina with reindentation.