Subject: Re: [PATCH v3 4/6] update-ref: add support for 'symref-create' command

From: Patrick Steinhardt <[email-masked]>
Date: Wed, 5 Jun 2024 10:02:13 +0200

On Thu, May 30, 2024 at 03:09:38PM +0300, Karthik Nayak wrote:
> From: Karthik Nayak <[email-masked]>
> diff --git a/refs.h b/refs.h
> index a054a4f998..1a58764298 100644
> --- a/refs.h
> +++ b/refs.h
> @@ -708,6 +708,7 @@ int ref_transaction_update(struct ref_transaction *transaction,
>  int ref_transaction_create(struct ref_transaction *transaction,
>  			   const char *refname,
>  			   const struct object_id *new_oid,
> +			   const char *new_target,
>  			   unsigned int flags, const char *msg,
>  			   struct strbuf *err);

Here, the `new_target` is in the expected place right next to `new_oid`.

Patrick