Message ID | bc7217f293a381226abdff89ba046814777a96a5.1581915186.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | unpack-trees: fix '--recurse-submodules' when switching from no submodules to nested submodules | expand |
diff --git a/unpack-trees.c b/unpack-trees.c index da4d6d4ec01..37eca3ede8b 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -1815,9 +1815,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,