refs: drop strbuf_ prefix from helpers
The helper functions (strbuf_branchname, strbuf_check_branch_ref, and strbuf_check_tag_ref) are about handling branch and tag names, and it is a non-essential fact that these functions use strbuf to hold these names. Rename them to make it clarify that these are more about "ref". Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -498,7 +498,7 @@ static void merge_name(const char *remote, struct strbuf *msg)
|
||||
char *found_ref = NULL;
|
||||
int len, early;
|
||||
|
||||
strbuf_branchname(&bname, remote, 0);
|
||||
copy_branchname(&bname, remote, 0);
|
||||
remote = bname.buf;
|
||||
|
||||
oidclr(&branch_head, the_repository->hash_algo);
|
||||
|
Reference in New Issue
Block a user