author | Jens Lehmann <Jens.Lehmann@web.de> | |
Sat, 13 Mar 2010 22:00:27 +0000 (23:00 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Mar 2010 05:56:35 +0000 (21:56 -0800) | ||
commit | 3bfc45047654c7dd38b32033321228e97fc8f60e | |
tree | 6899c722253819b7d29aa7abb7e0ac7716fa9079 | tree | snapshot |
parent | 85adbf2f751a91429de6b431c45737ba9d7e9e00 | commit | diff |
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>
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 | blob | history | |
diff.h | diff | blob | history | |
submodule.c | diff | blob | history | |
submodule.h | diff | blob | history | |
t/t7506-status-submodule.sh | diff | blob | history | |
wt-status.c | diff | blob | history |