resolve-undo: convert struct resolve_undo_info to object_id
[gitweb.git] / builtin / ls-files.c
index 2fc836e33086d5b70b86a3fc746f9e75706ef7ea..9df66ba307356e732c2fad6526b15d97ec868b45 100644 (file)
@@ -271,7 +271,7 @@ static void show_ru_info(const struct index_state *istate)
                        if (!ui->mode[i])
                                continue;
                        printf("%s%06o %s %d\t", tag_resolve_undo, ui->mode[i],
-                              find_unique_abbrev(ui->sha1[i], abbrev),
+                              find_unique_abbrev(ui->oid[i].hash, abbrev),
                               i + 1);
                        write_name(path);
                }