diff options
-rw-r--r-- | diffcore-rename.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/diffcore-rename.c b/diffcore-rename.c index ff5c182df8..8de80dfe73 100644 --- a/diffcore-rename.c +++ b/diffcore-rename.c @@ -235,6 +235,8 @@ void diff_detect_rename(int detect_rename, int h, i, j; int num_create, num_src, dst_cnt, src_cnt; + if (!minimum_score) + minimum_score = DEFAULT_MINIMUM_SCORE; outq.queue = NULL; outq.nr = outq.alloc = 0; |