Re: [PATCH v3 04/10] Move computation of dir_rename_count from merge-ort to diffcore-rename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux