diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-01-06 13:50:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-22 14:29:07 -0700 |
commit | 9d8a5a50b7e30d85aff3deac2a6994bf0178983d (patch) | |
tree | bb2c94524e0210bab859cb846b8ba3ca14024aed /notes-merge.c | |
parent | e7c3a59c22b28002d7cab3a4a0807fdc0d2388c9 (diff) | |
download | git-9d8a5a50b7e30d85aff3deac2a6994bf0178983d.tar.gz git-9d8a5a50b7e30d85aff3deac2a6994bf0178983d.tar.xz |
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>
---
Rebased to 'master' as the logic to use the result of this logic was
updated recently, together with the addition of eye-candy.
Diffstat (limited to 'notes-merge.c')
0 files changed, 0 insertions, 0 deletions