t7400: barf if git-submodule removes or replaces a file
commitb10ee7606e14265c6116639aafccb863b77043f5
authorLars Hjemli <hjemli@gmail.com>
Mon, 11 Jun 2007 19:12:21 +0000 (11 21:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2007 08:06:21 +0000 (12 01:06 -0700)
tree5a22e1e95a0cec76397065272d01bb4cd9d65fe9
parentca6c097089a38d447de0190ea61e9746a40a170c
t7400: barf if git-submodule removes or replaces a file

The test for an unmolested file wouldn't fail properly if the file had been
removed or replaced by something other than a regular file. This fixes it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7400-submodule-basic.sh