Re: [PATCH v1] add status config and command line options for rename detection
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- May 9, 2018, 15:59 UTC
- Message-ID
- <CACsJy8CdvKO3aityyP3Ax0ZqaS6JzwH_i2Gn_8NmCUDKHMMQrw@mail.gmail.com>
- In-Reply-To
- <20180509144213.18032-1-benpeart@microsoft.com>
On Wed, May 9, 2018 at 4:42 PM, Ben Peart <Ben.Peart@microsoft.com> 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.
Show 11 quoted lines
> > 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@microsoft.com> > Signed-off-by: Ben Peart <Ben.Peart@microsoft.com>
-- Duy