Re: [PATCH v13 7/9] refs: add create_only option to refs_update_symref_extended
From: Junio C Hamano <hidden> Date: 2024-11-19 02:54:39
Bence Ferdinandy [off-list ref] writes:
Allow the caller to specify that it only wants to update the symref if
it does not already exist. Silently ignore the error from the
transaction API if the symref already exists.
Because it is not even an error, from the point of view of "create
only if it does not exist", checking the current condition and
finding that there already is one, this makes perfect sense.