Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: add a helper to check if it is safe to write to .gitmodules
[gitweb.git]
/
builtin
/
count-objects.c
diff --git
a/builtin/count-objects.c
b/builtin/count-objects.c
index b054713e1a1e7d83563df0ec82d46dbca6bdb666..d51e2ce1ec016ab35f1781675ff70793f0b974d5 100644
(file)
--- a/
builtin/count-objects.c
+++ b/
builtin/count-objects.c
@@
-66,7
+66,7
@@
static int count_loose(const struct object_id *oid, const char *path, void *data
else {
loose_size += on_disk_bytes(st);
loose++;
- if (verbose && has_
sha1_pack(oid->hash
))
+ if (verbose && has_
object_pack(oid
))
packed_loose++;
}
return 0;