Web lists-archives.com

Re: [PATCH] blame: move blame_entry duplication to add_blame_entry()




On Fri, Mar 10, 2017 at 01:12:59AM +0100, René Scharfe wrote:

> All callers of add_blame_entry() allocate and copy the second argument.
> Let the function do it for them, reducing code duplication.

I assume you found this due to the DUPLICATE() discussion elsewhere.
Regardless of the results of that discussion, I think this is a nice
simplification.

-Peff