]> git.ipfire.org Git - thirdparty/git.git/commitdiff
expand_user_path: allow in-flight topics to keep using the old name
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Jul 2021 21:55:05 +0000 (14:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jul 2021 21:55:05 +0000 (14:55 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h

diff --git a/cache.h b/cache.h
index 87e4cbe9c5f42239fe1a022fc700626fb820d0e3..679a27e17ca637b12e687c6e846bce7d356013a0 100644 (file)
--- 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)
 {