MCPcopy Index your code
hub / github.com/git/git / short_commit_name

Function short_commit_name

sequencer.c:480–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478};
479
480static const char *short_commit_name(struct repository *r, struct commit *commit)
481{
482 return repo_find_unique_abbrev(r, &commit->object.oid, DEFAULT_ABBREV);
483}
484
485static int get_message(struct commit *commit, struct commit_message *out)
486{

Callers 8

get_messageFunction · 0.70
do_pick_commitFunction · 0.70
walk_revs_populate_todoFunction · 0.70
error_with_patchFunction · 0.70
pick_one_commitFunction · 0.70
make_script_with_mergesFunction · 0.70
sequencer_make_scriptFunction · 0.70
todo_list_to_strbufFunction · 0.70

Calls 1

repo_find_unique_abbrevFunction · 0.85

Tested by

no test coverage detected