Files
git/builtin
Karthik Nayak f151dfe3c9 refs: rename refs_create_symref() to refs_update_symref()
The `refs_create_symref()` function is used to update/create a symref.
But it doesn't check the old target of the symref, if existing. It force
updates the symref. In this regard, the name `refs_create_symref()` is a
bit misleading. So let's rename it to `refs_update_symref()`. This is
akin to how 'git-update-ref(1)' also allows us to create apart from
update.

While we're here, rename the arguments in the function to clarify what
they actually signify and reduce confusion.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-05-07 08:51:50 -07:00
..
2024-04-09 14:31:45 -07:00
2024-04-05 10:49:49 -07:00
2024-03-28 14:13:50 -07:00
2024-02-13 10:18:50 -08:00
2024-04-05 10:49:49 -07:00
2024-02-12 09:32:41 -08:00
2024-04-09 14:31:45 -07:00
2024-03-28 14:13:50 -07:00
2023-07-06 11:54:48 -07:00
2024-04-01 13:21:34 -07:00
2024-01-08 14:05:15 -08:00
2024-04-05 10:49:49 -07:00
2024-02-26 09:35:40 -08:00
2023-07-06 11:54:48 -07:00
2024-03-28 14:13:50 -07:00
2024-04-05 10:49:49 -07:00
2024-03-07 15:59:41 -08:00
2024-03-28 14:13:50 -07:00
2024-03-28 14:13:50 -07:00
2024-01-18 12:17:41 -08:00