| 73 | } |
| 74 | |
| 75 | const char *write_pack_opts_pack_prefix(const struct write_pack_opts *opts) |
| 76 | { |
| 77 | const char *pack_prefix; |
| 78 | if (!skip_prefix(opts->packtmp, opts->packdir, &pack_prefix)) |
| 79 | die(_("pack prefix %s does not begin with objdir %s"), |
| 80 | opts->packtmp, opts->packdir); |
| 81 | if (*pack_prefix == '/') |
| 82 | pack_prefix++; |
| 83 | return pack_prefix; |
| 84 | } |
| 85 | |
| 86 | bool write_pack_opts_is_local(const struct write_pack_opts *opts) |
| 87 | { |
no test coverage detected