aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 06:25:59 +0000
committerJunio C Hamano <gitster@pobox.com>2023-03-21 10:56:52 -0700
commitf7e552d7ca8ca76cb3d080be14d2a89c311d667f (patch)
tree1d3f70aeb473baa6b189f7497b73c76e61d650f2 /cache.h
parentabspath.h: move absolute path functions from cache.h (diff)
downloadgit-f7e552d7ca8ca76cb3d080be14d2a89c311d667f.tar.gz
git-f7e552d7ca8ca76cb3d080be14d2a89c311d667f.zip
cache.h: remove expand_user_path()
expand_user_path() was renamed to interpolate_path() back in mid-2021, but reinstated with a #define and a NEEDSWORK comment that we would eventually want to get rid of it. Do so now. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 260203c7a6..978aa01712 100644
--- a/cache.h
+++ b/cache.h
@@ -1142,8 +1142,6 @@ enum scld_error safe_create_leading_directories_no_share(char *path);
int mkdir_in_gitdir(const char *path);
char *interpolate_path(const char *path, int real_home);
-/* NEEDSWORK: remove this synonym once in-flight topics have migrated */
-#define expand_user_path interpolate_path
const char *enter_repo(const char *path, int strict);
const char *remove_leading_path(const char *in, const char *prefix);
const char *relative_path(const char *in, const char *prefix, struct strbuf *sb);