]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.c
git status: ignoring untracked files must apply to submodules too
authorJens Lehmann <Jens.Lehmann@web.de>
Sat, 13 Mar 2010 22:00:27 +0000 (23:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Mar 2010 05:56:35 +0000 (21:56 -0800)
commit3bfc45047654c7dd38b32033321228e97fc8f60e
tree6899c722253819b7d29aa7abb7e0ac7716fa9079
parent85adbf2f751a91429de6b431c45737ba9d7e9e00
git status: ignoring untracked files must apply to submodules too

Since 1.7.0 submodules are considered dirty when they contain untracked
files. But when git status is called with the "-uno" option, the user
asked to ignore untracked files, so they must be ignored in submodules
too. To achieve this, the new flag DIFF_OPT_IGNORE_UNTRACKED_IN_SUBMODULES
is introduced.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-lib.c
diff.h
submodule.c
submodule.h
t/t7506-status-submodule.sh
wt-status.c