Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout & worktree: introduce checkout.defaultRemote
[gitweb.git]
/
builtin
/
prune-packed.c
diff --git
a/builtin/prune-packed.c
b/builtin/prune-packed.c
index 419238171d7a2159f5e533bab84408aacb4d35e4..4ff525e50fc701392e7ed276ae4bba4a82ddf8a1 100644
(file)
--- a/
builtin/prune-packed.c
+++ b/
builtin/prune-packed.c
@@
-25,7
+25,7
@@
static int prune_object(const struct object_id *oid, const char *path,
{
int *opts = data;
- if (!has_
sha1_pack(oid->hash
))
+ if (!has_
object_pack(oid
))
return 0;
if (*opts & PRUNE_PACKED_DRY_RUN)