| 431 | } |
| 432 | |
| 433 | char *repo_git_path(struct repository *repo, |
| 434 | const char *fmt, ...) |
| 435 | { |
| 436 | struct strbuf path = STRBUF_INIT; |
| 437 | va_list args; |
| 438 | va_start(args, fmt); |
| 439 | repo_git_pathv(repo, NULL, &path, fmt, args); |
| 440 | va_end(args); |
| 441 | return strbuf_detach(&path, NULL); |
| 442 | } |
| 443 | |
| 444 | const char *repo_git_path_append(struct repository *repo, |
| 445 | struct strbuf *sb, |
no test coverage detected