summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-07-26 14:55:05 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-26 14:55:05 -0700
commit7ed37eb8ae485ff5590c656e871d6c739edfa067 (patch)
tree094616f6a709fdc64225e624579956d6a652b23c /cache.h
parentinterpolate_path(): allow specifying paths relative to the runtime prefix (diff)
downloadtgif-7ed37eb8ae485ff5590c656e871d6c739edfa067.tar.xz
expand_user_path: allow in-flight topics to keep using the old name
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 87e4cbe9c5..679a27e17c 100644
--- a/cache.h
+++ b/cache.h
@@ -1247,6 +1247,8 @@ int raceproof_create_file(const char *path, create_file_fn fn, void *cb);
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);
static inline int is_absolute_path(const char *path)
{