diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:36:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:36:25 -0700 |
commit | cc34bb0b0279a79117978cf220d70b1c14da05ca (patch) | |
tree | 83ea20e7109b8d96caf0aeed855656d03968f0df /builtin/commit.c | |
parent | 06d11b2e8d9d78d01212024f0f410e4193cbb5bd (diff) | |
parent | 90e14525f22c2980d4375dcb5d79e6d5da293a78 (diff) | |
download | git-cc34bb0b0279a79117978cf220d70b1c14da05ca.tar.gz |
Merge branch 'jl/submodule-ignore-diff'
* jl/submodule-ignore-diff:
Add tests for the diff.ignoreSubmodules config option
Add the 'diff.ignoreSubmodules' config setting
Submodules: Use "ignore" settings from .gitmodules too for diff and status
Submodules: Add the new "ignore" config option for diff and status
Conflicts:
diff.c
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index c4a577d5c5..66fdd22024 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -25,6 +25,7 @@ #include "rerere.h" #include "unpack-trees.h" #include "quote.h" +#include "submodule.h" static const char * const builtin_commit_usage[] = { "git commit [options] [--] <filepattern>...", @@ -1073,6 +1074,7 @@ int cmd_status(int argc, const char **argv, const char *prefix) status_format = STATUS_FORMAT_PORCELAIN; wt_status_prepare(&s); + gitmodules_config(); git_config(git_status_config, &s); in_merge = file_exists(git_path("MERGE_HEAD")); argc = parse_options(argc, argv, prefix, |