summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 960e7ac..0f368ad 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -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);
}
}