summaryrefslogtreecommitdiff
path: root/builtin/diff.c
diff options
context:
space:
mode:
authorLibravatar Jens Lehmann <Jens.Lehmann@web.de>2010-06-25 16:56:02 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-25 11:12:27 -0700
commit18076502cb282482f3cd75d766e1478cc3fccc29 (patch)
tree943b0b388d7d8eb89876d94c196d6423bc355ae3 /builtin/diff.c
parentt4027,4041: Use test -s to test for an empty file (diff)
downloadtgif-18076502cb282482f3cd75d766e1478cc3fccc29.tar.xz
git submodule: ignore dirty submodules for summary and status
The summary and status commands only care about submodule commits, so it is rather pointless that they check for dirty work trees. This saves the time needed to scan the submodules work tree. Even "git status" profits from these savings when the status.submodulesummary config option is set, as this lead to traversing the submodule work trees twice, once for status and once again for the submodule summary. And if the submodule was just dirty, submodule summary produced rather meaningless output anyway: * sub 1234567...1234567 (0): Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions