summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-05-07 14:58:55 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-07 08:51:49 -0700
commite9965ba477de5df7546773920c581569bb54f315 (patch)
treebec4a69a4bbeb6ba070457f0fd0c8f3fb25bb344 /t/unit-tests
parenta8ae923f85da6434c3faf9c39719d6d5e5c77e65 (diff)
refs: move `original_update_refname` to 'refs.c'
The files backend and the reftable backend implement `original_update_refname` to obtain the original refname of the update. Move it out to 'refs.c' and only expose it internally to the refs library. This will be used in an upcoming commit to also introduce another common functionality for the two backends. We also rename the function to `ref_update_original_update_refname` to keep it consistent with the upcoming other 'ref_update_*' functions that'll be introduced. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions