submodule: additional regression tests for relative URLs
[gitweb.git] / unpack-trees.c
index 7cfa026b1a554cf915ac6c73b10d3f7f3713930c..bcee99c52e3a9ee8d67f70c577e57bbde8a8b610 100644 (file)
@@ -1027,6 +1027,7 @@ int unpack_trees(unsigned len, struct tree_desc *t, struct unpack_trees_options
        o->result.initialized = 1;
        o->result.timestamp.sec = o->src_index->timestamp.sec;
        o->result.timestamp.nsec = o->src_index->timestamp.nsec;
+       o->result.version = o->src_index->version;
        o->merge_size = len;
        mark_all_ce_unused(o->src_index);