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 /t/t5402-post-merge-hook.sh | |
parent | builtin/diff.c: remove duplicated call to diff_result_code() (diff) | |
download | tgif-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/t5402-post-merge-hook.sh')
0 files changed, 0 insertions, 0 deletions