[PATCH 2 of 2] convert: change default for git rename detection to 50%

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Sep 23 18:33:41 CDT 2014



On 09/23/2014 02:47 PM, Siddharth Agarwal wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1411508723 25200
> #      Tue Sep 23 14:45:23 2014 -0700
> # Node ID 9d18972ea7b42f030326633b70e7e83d7076b027
> # Parent  08dc4b2c31c0452927ce637e32f814406a639344
> convert: change default for git rename detection to 50%
>
> This default mirrors the default for 'git diff'. Other commands have slightly
> different defaults -- for example, the move/copy detection for 'git blame'
> assumes that a hunk is moved if more than 40 alphanumeric characters are the
> same, or copied if more than 20 alphanumeric characters are the same. 50% seems
> to be the most common default, though.

Those two are pushed to the clowncopter. lets the bikeshedding about the 
value begin!

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list