| 616 | } |
| 617 | |
| 618 | const char *repo_submodule_path_replace(struct repository *repo, |
| 619 | struct strbuf *buf, |
| 620 | const char *path, |
| 621 | const char *fmt, ...) |
| 622 | { |
| 623 | int err; |
| 624 | va_list args; |
| 625 | strbuf_reset(buf); |
| 626 | va_start(args, fmt); |
| 627 | err = do_submodule_path(repo, buf, path, fmt, args); |
| 628 | va_end(args); |
| 629 | if (err) |
| 630 | return NULL; |
| 631 | return buf->buf; |
| 632 | } |
| 633 | |
| 634 | static void repo_common_pathv(const struct repository *repo, |
| 635 | struct strbuf *sb, |
nothing calls this directly
no test coverage detected