if (default_date_mode)
parse_date_format(default_date_mode, &rev->date_mode);
-
- memset(&rev->diffopt.touched_flags, 0, sizeof(struct diff_flags));
}
static void cmd_log_init_finish(int argc, const char **argv, const char *prefix,
}
#define DIFF_OPT_TST(opts, flag) ((opts)->flags.flag)
-#define DIFF_OPT_TOUCHED(opts, flag) ((opts)->touched_flags.flag)
-#define DIFF_OPT_SET(opts, flag) (((opts)->flags.flag = 1),((opts)->touched_flags.flag = 1))
-#define DIFF_OPT_CLR(opts, flag) (((opts)->flags.flag = 0),((opts)->touched_flags.flag = 1))
+#define DIFF_OPT_SET(opts, flag) ((opts)->flags.flag = 1)
+#define DIFF_OPT_CLR(opts, flag) ((opts)->flags.flag = 0)
#define DIFF_XDL_TST(opts, flag) ((opts)->xdl_opts & XDF_##flag)
#define DIFF_XDL_SET(opts, flag) ((opts)->xdl_opts |= XDF_##flag)
const char *line_prefix;
size_t line_prefix_length;
struct diff_flags flags;
- struct diff_flags touched_flags;
/* diff-filter bits */
unsigned int filter;