All of lore.kernel.org
 help / color / mirror / Atom feed
From: Orgad Shaneh <orgads@gmail.com>
To: git@vger.kernel.org
Cc: Orgad Shaneh <orgads@gmail.com>
Subject: [PATCH] commit: configure submodules
Date: Sun, 23 Sep 2012 09:37:47 +0200	[thread overview]
Message-ID: <1348385867-17359-1-git-send-email-orgads@gmail.com> (raw)

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 <orgads@gmail.com>
---
 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

             reply	other threads:[~2012-09-23  7:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-23  7:37 Orgad Shaneh [this message]
2012-09-23  8:37 ` [PATCH] commit: configure submodules Junio C Hamano
2012-09-23 18:13   ` Jens Lehmann
2012-09-24  5:57     ` Junio C Hamano
2012-09-24 16:27       ` Junio C Hamano
2012-09-24 18:15         ` Jens Lehmann
2012-09-24 18:34           ` Junio C Hamano
2012-09-24 18:49             ` Orgad Shaneh
2012-09-24 19:06               ` Junio C Hamano
2012-09-24 19:16                 ` Orgad Shaneh
2012-09-24 19:56                   ` Jens Lehmann
2012-09-24 19:59                     ` Orgad Shaneh
2012-09-24 20:10                       ` Jens Lehmann
2012-09-24 20:36                     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348385867-17359-1-git-send-email-orgads@gmail.com \
    --to=orgads@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.