diff: remove DIFF_OPT_TST macro
[gitweb.git] / builtin / diff.c
index f5bbd4d757e12e6e34a86fac006298acb771909f..8cbaf45384f8a57da06654afdfee8ffc8fa5012e 100644 (file)
@@ -44,7 +44,7 @@ static void stuff_change(struct diff_options *opt,
            !oidcmp(old_oid, new_oid) && (old_mode == new_mode))
                return;
 
-       if (DIFF_OPT_TST(opt, REVERSE_DIFF)) {
+       if (opt->flags.REVERSE_DIFF) {
                SWAP(old_mode, new_mode);
                SWAP(old_oid, new_oid);
                SWAP(old_path, new_path);