Enable rewrite as well as rename detection in git-status

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King 2007-12-02 22:58:37 -08:00 committed by Junio C Hamano
parent b45563a229
commit f714fb846b

View File

@ -231,6 +231,7 @@ static void wt_status_print_updated(struct wt_status *s)
rev.diffopt.format_callback_data = s;
rev.diffopt.detect_rename = 1;
rev.diffopt.rename_limit = 100;
rev.diffopt.break_opt = 0;
wt_read_cache(s);
run_diff_index(&rev, 1);
}