author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 25 Aug 2010 10:34:57 +0000 (12:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Aug 2010 20:12:04 +0000 (13:12 -0700) | ||
commit | 175f6e59f6c74d5f8c80fe3a6678915cc5d35cb6 | |
tree | 25a13f9241d43439fa9b42510d6cad121b280127 | tree | snapshot |
parent | 90e14525f22c2980d4375dcb5d79e6d5da293a78 | commit | diff |
checkout: respect diff.ignoreSubmodules setting
When 'git checkout' reports uncommitted changes, it also does so for
submodules.
The default mode is now to look really hard into submodules, not only
for different commits, but also for modified files. Since this can be
pretty expensive when there are a lot (and large) submodules, there is
the diff.ignoreSubmodules option.
Let's respect that setting when 'git checkout' reports the uncommitted
changes, since it does nothing else than a 'git diff --name-status'.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When 'git checkout' reports uncommitted changes, it also does so for
submodules.
The default mode is now to look really hard into submodules, not only
for different commits, but also for modified files. Since this can be
pretty expensive when there are a lot (and large) submodules, there is
the diff.ignoreSubmodules option.
Let's respect that setting when 'git checkout' reports the uncommitted
changes, since it does nothing else than a 'git diff --name-status'.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c | diff | blob | history |