diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2010-08-25 12:34:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-25 13:12:04 -0700 |
commit | 175f6e59f6c74d5f8c80fe3a6678915cc5d35cb6 (patch) | |
tree | 25a13f9241d43439fa9b42510d6cad121b280127 /xdiff-interface.h | |
parent | Add tests for the diff.ignoreSubmodules config option (diff) | |
download | tgif-175f6e59f6c74d5f8c80fe3a6678915cc5d35cb6.tar.xz |
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>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions