author | Junio C Hamano <gitster@pobox.com> | |
Thu, 6 Jan 2011 21:50:04 +0000 (13:50 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Jan 2011 00:41:53 +0000 (16:41 -0800) | ||
commit | 1465262b64b2f0c8e23379e1dd498b5eeaec28bd | |
tree | 3b9a05e3c4d0be2715df3f28b783ac9cf5af358b | tree | snapshot |
parent | 685e9d9145a186a4b2036ecf2be73cc86d99a9b7 | commit | diff |
diffcore-rename: refactor "too many candidates" logic
Move the logic to a separate function, to be enhanced by later patches in
the series.
While at it, swap the condition used in the if statement from "if it is
too big then do this" to "if it would fit then do this".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Move the logic to a separate function, to be enhanced by later patches in
the series.
While at it, swap the condition used in the if statement from "if it is
too big then do this" to "if it would fit then do this".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c | diff | blob | history |