Re: [PATCH 1/4] refs: deprecate core.preferSymlinkRefs
On Wed, Sep 18, 2024 at 04:28:22PM -0700, Junio C Hamano wrote:
Show 13 quoted lines
> diff --git a/refs/files-backend.c b/refs/files-backend.c
> index c7f3f4e591..c40a248b9f 100644
> --- a/refs/files-backend.c
> +++ b/refs/files-backend.c
> @@ -2025,6 +2025,8 @@ static int create_ref_symlink(struct ref_lock *lock, const char *target)
>
> if (ret)
> fprintf(stderr, "no symlink - falling back to symbolic ref\n");
> + else
> + warning("core.preferSymlinkRefs will be removed in Git 3.0");
> return ret;
> }
> #endifThis string should probably be marked for translation, right?
Patrick