]> git.ipfire.org Git - thirdparty/git.git/commit
symlinks: update comment on threaded_check_leading_path()
authorMatheus Tavares <matheus.bernardino@usp.br>
Thu, 18 Mar 2021 18:43:46 +0000 (15:43 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Mar 2021 19:58:08 +0000 (12:58 -0700)
commit462b4e8dfd688b8964da77daf17b64da5bdc54ad
tree53ba71a9239159f018b49f25777efbc26a0b227e
parent0628636d0c21324ae0f11be591611c6b1e55705f
symlinks: update comment on threaded_check_leading_path()

Since 1d718a5108 ("do not overwrite untracked symlinks", 2011-02-20),
the comment on top of threaded_check_leading_path() is outdated and no
longer reflects the behavior of this function. Let's updated it to avoid
confusions. While we are here, also remove some duplicated comments to
avoid similar maintenance problems.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
symlinks.c