summaryrefslogtreecommitdiffstats
path: root/setup.c
diff options
context:
space:
mode:
authorAlexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>2020-03-10 14:11:23 +0100
committerJunio C Hamano <gitster@pobox.com>2020-03-10 19:41:40 +0100
commit4530a85b4c34f009b5f190eb2dc8367801de5028 (patch)
tree8e6a4c01147521978d89637b87d50ab75546d647 /setup.c
parentreal_path: remove unsafe API (diff)
downloadgit-4530a85b4c34f009b5f190eb2dc8367801de5028.tar.xz
git-4530a85b4c34f009b5f190eb2dc8367801de5028.zip
real_path_if_valid(): remove unsafe API
This commit continues the work started with previous commit. Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 1ae3f20301..9e8fa46bc7 100644
--- a/setup.c
+++ b/setup.c
@@ -886,7 +886,7 @@ static dev_t get_device_or_die(const char *path, const char *prefix, int prefix_
/*
* A "string_list_each_func_t" function that canonicalizes an entry
- * from GIT_CEILING_DIRECTORIES using real_path_if_valid(), or
+ * from GIT_CEILING_DIRECTORIES using real_pathdup(), or
* discards it if unusable. The presence of an empty entry in
* GIT_CEILING_DIRECTORIES turns off canonicalization for all
* subsequent entries.