diff.c: add white space mode to move detection that allows indent changes
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index de5dc6800517c72b94ec208e7240ca0877650b25..5e6bcf092607562a4f29b6e21f449921f744f286 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -214,6 +214,9 @@ struct diff_options {
        } color_moved;
        #define COLOR_MOVED_DEFAULT COLOR_MOVED_ZEBRA
        #define COLOR_MOVED_MIN_ALNUM_COUNT 20
+
+       /* XDF_WHITESPACE_FLAGS regarding block detection are set at 2, 3, 4 */
+       #define COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE (1<<5)
        int color_moved_ws_handling;
 };