summaryrefslogtreecommitdiff
path: root/t/t5515
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-01-06 13:50:04 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-22 14:29:07 -0700
commit9d8a5a50b7e30d85aff3deac2a6994bf0178983d (patch)
treebb2c94524e0210bab859cb846b8ba3ca14024aed /t/t5515
parentbuiltin/diff.c: remove duplicated call to diff_result_code() (diff)
downloadtgif-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 't/t5515')
0 files changed, 0 insertions, 0 deletions