diff --git a/unpack-trees.c b/unpack-trees.c index 2399b6818be6dd..4ff9077c879c12 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -1811,9 +1811,6 @@ static void invalidate_ce_path(const struct cache_entry *ce, /* * Check that checking out ce->sha1 in subdir ce->name is not * going to overwrite any working files. - * - * Currently, git does not checkout subprojects during a superproject - * checkout, so it is not going to overwrite anything. */ static int verify_clean_submodule(const char *old_sha1, const struct cache_entry *ce,