Re: [PATCH] commit: configure submodules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 24, 2012, 19:06 UTC
- Message-ID
- <7vy5jzxmts.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAGHpTB+F3=mW9m3ESQe1wAkLzSBcp+5Kgw1Kb-D-rk2T1q_-iw@mail.gmail.com>
Orgad Shaneh <orgads@gmail.com> writes:
> That is not correct. git-config is ignored as well for commit.
What do you mean? As far as I can tell, if you have
[submodule "var"]
path = var
ignore = dirtyin $GIT_DIR/config, a work-tree-dirty submodule "var" is not reported by "git status" and "git commit" without your patch, and your patch does not seem to break that. The only difference your patch makes is that if you had the above three-line block in the .gitmodules file and not in $GIT_DIR/config, "git status" ignored the dirtyness in the working tree, but "git commit" did notice and report it.
What am I missing?