From: Junio C Hamano Date: Mon, 24 Sep 2012 19:06:23 GMT Subject: Re: [PATCH] commit: configure submodules Message-ID: <7vy5jzxmts.fsf@alter.siamese.dyndns.org> In-Reply-To: Orgad Shaneh 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 = dirty in $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?