Re: [PATCH] Clarify text filter merge conflict reduction docs

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

 



Eyvind Bernhardsen <eyvind.bernhardsen@xxxxxxxxx> writes:

>> +	if (!core_ll_merge_double_convert)
>> +		return sha_eq(o_sha, a_sha);
>
> I would rather do this:
>
> 	if (sha_eq(o_sha, a_sha))
> 		return 1;
> 	if (!core_ll_merge_double_convert)
> 		return 0;

You are absolutely right.  This part of my patch was an unnecessary
pessimization.

Will fix.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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]