diff options
Diffstat (limited to 'rerere.c')
-rw-r--r-- | rerere.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -214,6 +214,11 @@ static void read_rr(struct repository *r, struct string_list *rr) buf.buf[hexsz] = '\0'; id = new_rerere_id_hex(buf.buf); id->variant = variant; + /* + * make sure id->collection->status has enough space + * for the variant we are interested in + */ + fit_variant(id->collection, variant); string_list_insert(rr, path)->util = id; } strbuf_release(&buf); |