| 644 | } |
| 645 | |
| 646 | char *repo_common_path(const struct repository *repo, |
| 647 | const char *fmt, ...) |
| 648 | { |
| 649 | struct strbuf sb = STRBUF_INIT; |
| 650 | va_list args; |
| 651 | va_start(args, fmt); |
| 652 | repo_common_pathv(repo, &sb, fmt, args); |
| 653 | va_end(args); |
| 654 | return strbuf_detach(&sb, NULL); |
| 655 | } |
| 656 | |
| 657 | const char *repo_common_path_append(const struct repository *repo, |
| 658 | struct strbuf *sb, |
no test coverage detected