Re: [PATCH v1] add status config and command line options for rename detection
- Date: Wed, 9 May 2018 17:59:19 +0200
- From: Duy Nguyen <pclouds@xxxxxxxxx>
- Subject: Re: [PATCH v1] add status config and command line options for rename detection
On Wed, May 9, 2018 at 4:42 PM, Ben Peart <Ben.Peart@xxxxxxxxxxxxx> wrote:
> Add a new config status.renames setting to enable turning off rename detection
> during status. This setting will default to the value of diff.renames.
Please add the reason you need this config key in the commit message.
My guess (probably correct) is on super large repo (how large?),
rename detection is just too slow (how long?) that it practically
makes git-status unusable.
This information could be helpful when we optimize rename detection to
be more efficient.
> Add a new config status.renamelimit setting to to enable bounding the time spent
> finding out inexact renames during status. This setting will default to the
> value of diff.renamelimit.
> Add status --no-renames command line option that enables overriding the config
> setting from the command line. Add --find-renames[=<n>] to enable detecting
> renames and optionaly setting the similarity index from the command line.
> Origional-Patch-by: Alejandro Pauly <alpauly@xxxxxxxxxxxxx>
> Signed-off-by: Ben Peart <Ben.Peart@xxxxxxxxxxxxx>