Re: [PATCH v3 4/6] update-ref: add support for 'symref-create' command
On Thu, May 30, 2024 at 03:09:38PM +0300, Karthik Nayak wrote:
Show 12 quoted lines
> From: Karthik Nayak <karthik.188@gmail.com>
> 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