Web lists-archives.com

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




Am 10.03.2017 um 09:32 schrieb Jeff King:
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.

Indeed, your grep command in that discussion showed them.

René