unpack-trees.c: assume submodules are clean during check-out
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 17 Jul 2007 18:28:28 +0000 (20:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jul 2007 00:01:00 +0000 (17:01 -0700)
commit0cf7375542504e3762753cdc4cff3bb5c8fc628e
tree787d4b62db0742483ec9c0af1c25d8e2fa106e7c
parentc1c10a3f272ec0908e63bc105a5ffe94c1279fba
unpack-trees.c: assume submodules are clean during check-out

In particular, when moving back to a commit without a given submodule
and then moving back forward to a commit with the given submodule,
we shouldn't complain that updating would lose untracked file in
the submodule, because git currently does not checkout subprojects
during superproject check-out.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7400-submodule-basic.sh
unpack-trees.c