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

Function short_commit_name

replay.c:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26static const char *short_commit_name(struct repository *repo,
27 struct commit *commit)
28{
29 return repo_find_unique_abbrev(repo, &commit->object.oid,
30 DEFAULT_ABBREV);
31}
32
33static struct commit *peel_committish(struct repository *repo,
34 const char *name,

Callers 1

pick_regular_commitFunction · 0.70

Calls 1

repo_find_unique_abbrevFunction · 0.85

Tested by

no test coverage detected