]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/ls-files.c
cache: convert struct cache_entry to use struct object_id
[thirdparty/git.git] / builtin / ls-files.c
index 00ea91aae6325fccafc22c64d86c5f7335851b81..197f153f501e4498122896d4e1242d4c5e1651cc 100644 (file)
@@ -187,7 +187,7 @@ static void show_ce_entry(const char *tag, const struct cache_entry *ce)
                printf("%s%06o %s %d\t",
                       tag,
                       ce->ce_mode,
-                      find_unique_abbrev(ce->sha1,abbrev),
+                      find_unique_abbrev(ce->oid.hash,abbrev),
                       ce_stage(ce));
        }
        write_eolinfo(ce, ce->name);