From: Derrick Stolee Date: Fri, 26 Feb 2021 15:55:58 GMT Subject: Re: [PATCH v3 04/10] Move computation of dir_rename_count from merge-ort to diffcore-rename Message-ID: <7cdfa81a-d088-f91d-c78d-6f1d957ec8b2@gmail.com> In-Reply-To: <9b9d5b207b034ec4181020e0bf3ac46561f55b28.1614304700.git.gitgitgadget@gmail.com> On 2/25/2021 8:58 PM, Elijah Newren via GitGitGadget wrote: > + for (i = 0; i < rename_dst_nr; ++i) { > + /* File not part of directory rename counts if not a rename */ > + if (!rename_dst[i].is_rename) > + continue; > + ... > - /* File not part of directory rename if it wasn't renamed */ > - if (pair->status != 'R') > - continue; > - Thanks for updating to include this check! -Stolee