Subject: [PATCH] commit: configure submodules

From: Orgad Shaneh <[email-masked]>
Date: Sun, 23 Sep 2012 09:37:47 +0200

As reported on the mailing list[1], ignore submodule config is not
respected on commit.

[1] http://git.661346.n2.nabble.com/submodule-ignore-is-not-respected-on-commit-td7539238.html

Signed-off-by: Orgad Shaneh <[email-masked]>
---
 builtin/commit.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/builtin/commit.c b/builtin/commit.c
index 62028e7..7a83cae 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -1452,6 +1452,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
 		usage_with_options(builtin_commit_usage, builtin_commit_options);
 
 	wt_status_prepare(&s);
+	gitmodules_config();
 	git_config(git_commit_config, &s);
 	determine_whence(&s);
 	s.colopts = 0;
-- 
1.7.10.4