| 1258 | } |
| 1259 | |
| 1260 | static int unpack_failed(struct unpack_trees_options *o, const char *message) |
| 1261 | { |
| 1262 | discard_index(&o->internal.result); |
| 1263 | if (!o->quiet && !o->exiting_early) { |
| 1264 | if (message) |
| 1265 | return error("%s", message); |
| 1266 | return -1; |
| 1267 | } |
| 1268 | return -1; |
| 1269 | } |
| 1270 | |
| 1271 | /* |
| 1272 | * The tree traversal is looking at name p. If we have a matching entry, |
no test coverage detected