diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-06-06 07:29:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-06 09:04:32 -0700 |
commit | 66275a63117261749b40c774042bcb6e20e5d13b (patch) | |
tree | e2f107cf90099085d2c3846cab25479f29324456 /commit.h | |
parent | fbd1a693c7343d4b37ae6d99b19f15d1293b77c2 (diff) |
refs/files: refactor `add_pseudoref_and_head_entries()`
The `add_pseudoref_and_head_entries()` function accepts both the ref
store as well as a directory name as input. This is unnecessary though
as the ref store already uniquely identifies the root directory of the
ref store anyway.
Furthermore, the function is misnamed now that we have clarified the
meaning of pseudorefs as it doesn't add pseudorefs, but root refs.
Rename it accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions