From: Robin Rosenberg Date: Tue, 01 Jul 2014 09:16:44 GMT Subject: Re: move detection doesnt take filename into account Message-ID: <287177519.16421.1404206204124.JavaMail.zimbra@dewire.com> In-Reply-To: <53B105DA.30004@gmail.com> ----- Ursprungligt meddelande ----- > Från: "Elliot Wolk" > Till: git@vger.kernel.org > Skickat: måndag, 30 jun 2014 8:38:18 > Ämne: move detection doesnt take filename into account > > if you move two identical {e.g.: empty} files to two new locations in a > single commit, the move detection picks them {seemingly?} arbitrarily. > it should use a statistical algorithm to compare the filenames and pick > a likely match. I think it does, but based on filename suffix. E.g. here is a rename of three empty files with a suffix. 3 files changed, 0 insertions(+), 0 deletions(-) rename 1.a => 2.a (100%) rename 1.b => 2.b (100%) rename 1.c => 2.c (100%) -- robin