Johannes Schindelin wrote: > The dangerous thing is that the score can get negative now. > ... > + score = (int)(src_copied * MAX_SCORE / max_size) > + - levenshtein(src->path, dst->path); Does that also mean that you can't ever have a rename with a score of 100%? (I haven't studied the algorithms and assume that levenshtein(a,b) == 0 only if a==b, and that without the -levenshtein(...) the score can grow to 100%.) -- Hannes - 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