| 24 | }; |
| 25 | |
| 26 | static 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 | |
| 33 | static struct commit *peel_committish(struct repository *repo, |
| 34 | const char *name, |
no test coverage detected