Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2020-02-17 07:53:04 +0300
committerJunio C Hamano <gitster@pobox.com>2020-02-20 02:27:28 +0300
commit16f2b6bb365c19e2424c58428af20dbe04af09c9 (patch)
tree1201a233c89509d7b024d84b25d715f074d6aed2 /unpack-trees.c
parent8d48dd1988e90c7bfa966eb324ed98849528502a (diff)
unpack-trees: remove outdated description for verify_clean_submodule
The function verify_clean_submodule() learned to verify if a submodule working tree is clean in a7bc845a9a (unpack-trees: check if we can perform the operation for submodules, 2017-03-14), but the commented description above it was not updated to reflect that, such that this description has been outdated since then. Since Git has now learned to optionnally recursively check out submodules during a superproject checkout, remove this outdated description. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index 2399b6818b..4ff9077c87 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,