Code

Enable rewrite as well as rename detection in git-status
authorJeff King <peff@peff.net>
Mon, 3 Dec 2007 06:58:37 +0000 (22:58 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Dec 2007 06:58:37 +0000 (22:58 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c

index 9a6ef4a89ae659855ae0d2fa3006daf080190ed4..bf2fe8d237b51e87d40dbe60eb70f485273083ff 100644 (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);
 }