Skip to content

Commit

Permalink
Merge branch 'os/commit-submodule-ignore'
Browse files Browse the repository at this point in the history
"git status" honored the ignore=dirty settings in .gitmodules but
"git commit" didn't.

* os/commit-submodule-ignore:
  commit: pay attention to submodule.$name.ignore in .gitmodules
  • Loading branch information
gitster committed Oct 1, 2012
2 parents 4dbf436 + 8f6811e commit 6975991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1419,6 +1419,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;
Expand Down

0 comments on commit 6975991

Please sign in to comment.