| 177 | } |
| 178 | |
| 179 | static int parse_refmap_arg(const struct option *opt, const char *arg, int unset) |
| 180 | { |
| 181 | BUG_ON_OPT_NEG(unset); |
| 182 | |
| 183 | /* |
| 184 | * "git fetch --refmap='' origin foo" |
| 185 | * can be used to tell the command not to store anywhere |
| 186 | */ |
| 187 | refspec_append(opt->value, arg); |
| 188 | |
| 189 | return 0; |
| 190 | } |
| 191 | |
| 192 | static void unlock_pack(unsigned int flags) |
| 193 | { |
nothing calls this directly
no test coverage detected