Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2 1/3] diffcore-pickaxe: remove unnecessary call to get_textconv()

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:41

Jeff King [off-list ref] writes:
But I do not think fill_one is the right interface for it. The reason
has_changes calls get_textconv separately is that we do not want to fill
the buffer (which may be expensive) if we can avoid it. So the correct
sequence is: ...
If you turned fill_one into "fill_both_sides" then you could share
the code between diff_grep/pickaxe and do it in the right order in the
helper.
Yeah, I think that is a good way to refactor.  A patch later in the
series will be killing fill_one() anyway ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help