aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJens Lehmann <Jens.Lehmann@web.de>2010-01-16 18:42:24 +0100
committerJunio C Hamano <gitster@pobox.com>2010-01-16 16:40:50 -0800
commitee6fc514f2df821c2719cc49499a56ef2fb136b0 (patch)
treef5aa79026dcad4897fbb0501027d70a5d8a48cd1 /diff.c
parent1f73566af5bec28cd8489c6139a9ede95817349c (diff)
downloadgit-ee6fc514f2df821c2719cc49499a56ef2fb136b0.tar.gz
git-ee6fc514f2df821c2719cc49499a56ef2fb136b0.tar.xz
Show submodules as modified when they contain a dirty work tree
Until now a submodule only then showed up as modified in the supermodule when the last commit in the submodule differed from the one in the index or the diffed against commit of the superproject. A dirty work tree containing new untracked or modified files in a submodule was undetectable when looking at it from the superproject. Now git status and git diff (against the work tree) in the superproject will also display submodules as modified when they contain untracked or modified files, even if the compared ref matches the HEAD of the submodule. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions