commit: make ignore_non_trailer take buf/len
[gitweb.git] / builtin / ls-files.c
index 0f25914348e657712bfe252363f4fac3c59a9d84..1592290815c8b93701fa9d175d76f7a7ed85f7d2 100644 (file)
@@ -263,7 +263,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);