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>
This commit is contained in:

committed by
Junio C Hamano

parent
0b027f6ca7
commit
f7e552d7ca
@ -1049,7 +1049,7 @@ static int sign_buffer_ssh(struct strbuf *buffer, struct strbuf *signature,
|
||||
ssh_signing_key_file = strbuf_detach(&key_file->filename, NULL);
|
||||
} else {
|
||||
/* We assume a file */
|
||||
ssh_signing_key_file = expand_user_path(signing_key, 1);
|
||||
ssh_signing_key_file = interpolate_path(signing_key, 1);
|
||||
}
|
||||
|
||||
buffer_file = mks_tempfile_t(".git_signing_buffer_tmpXXXXXX");
|
||||
|
Reference in New Issue
Block a user