MCPcopy Create free account
hub / github.com/git/git / strbuf_add_unique_abbrev

Function strbuf_add_unique_abbrev

object-name.c:580–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580void strbuf_add_unique_abbrev(struct strbuf *sb, const struct object_id *oid,
581 int abbrev_len)
582{
583 strbuf_repo_add_unique_abbrev(sb, the_repository, oid, abbrev_len);
584}
585
586int repo_find_unique_abbrev_r(struct repository *r, char *hex,
587 const struct object_id *oid, int min_len)

Callers 15

merge_ort_internalFunction · 0.85
print_ok_ref_statusFunction · 0.85
show_submodule_headerFunction · 0.85
label_oidFunction · 0.85
add_merge_infoFunction · 0.85
format_commit_oneFunction · 0.85
abbrev_oid_in_lineFunction · 0.85
get_branchFunction · 0.85
grab_1st_switchFunction · 0.85
create_reflog_msgFunction · 0.85
show_tree_fmtFunction · 0.85

Calls 1

Tested by

no test coverage detected