expand_user_path: allow in-flight topics to keep using the old name

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jul 26, 2021 at 14:55 UTC 7ed37eb8ae485ff5590c656e871d6c739edfa067
1 file changed +2
cache.h
+2
@@ -1247,6 +1247,8 @@ int raceproof_create_file(const char *path, create_file_fn fn, void *cb);
1247
1248 int mkdir_in_gitdir(const char *path);
1249 char *interpolate_path(const char *path, int real_home);
1250 +/* NEEDSWORK: remove this synonym once in-flight topics have migrated */
1251 +#define expand_user_path interpolate_path
1252 const char *enter_repo(const char *path, int strict);
1253 static inline int is_absolute_path(const char *path)
1254 {