diff: make struct diff_flags members lowercase
[gitweb.git] / builtin / commit.c
index 960e7ac0811b4f7096ac3bbb8b757f9b9db61da2..0f368ad8145727daf76f14060bd59586e8db7984 100644 (file)
@@ -913,10 +913,10 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
                         * be really confusing.
                         */
                        struct diff_flags flags = DIFF_FLAGS_INIT;
-                       flags.OVERRIDE_SUBMODULE_CONFIG = 1;
+                       flags.override_submodule_config = 1;
                        if (ignore_submodule_arg &&
                            !strcmp(ignore_submodule_arg, "all"))
-                               flags.IGNORE_SUBMODULES = 1;
+                               flags.ignore_submodules = 1;
                        commitable = index_differs_from(parent, &flags, 1);
                }
        }