Skip to content

Commit 7ed37eb

Browse files
committed
expand_user_path: allow in-flight topics to keep using the old name
Signed-off-by: Junio C Hamano <[email protected]>
1 parent e394a16 commit 7ed37eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cache.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,8 @@ int raceproof_create_file(const char *path, create_file_fn fn, void *cb);
12471247

12481248
int mkdir_in_gitdir(const char *path);
12491249
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
12501252
const char *enter_repo(const char *path, int strict);
12511253
static inline int is_absolute_path(const char *path)
12521254
{

0 commit comments

Comments
 (0)