author | Jens Lehmann <Jens.Lehmann@web.de> | |
Sat, 23 Jan 2010 16:37:26 +0000 (17:37 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Jan 2010 05:03:23 +0000 (21:03 -0800) | ||
commit | 4d34477f4c5dbebc55aa1362fd705440590a85f1 | |
tree | a729bc860f100fb70ef5e2553aeacd7a9ef57490 | tree | snapshot |
parent | 125fd98434ce773de45c4a40927c222ec5c43ae1 | commit | diff |
git diff: Don't test submodule dirtiness with --ignore-submodules
The diff family suppresses the output of submodule changes when
requested but checks them nonetheless. But since recently submodules
get examined for their dirtiness, which is rather expensive. There is
no need to do that when the --ignore-submodules option is used, as
the gathered information is never used anyway.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The diff family suppresses the output of submodule changes when
requested but checks them nonetheless. But since recently submodules
get examined for their dirtiness, which is rather expensive. There is
no need to do that when the --ignore-submodules option is used, as
the gathered information is never used anyway.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-lib.c | diff | blob | history |