]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pack-objects.c
sha1-file: convert freshen functions to object_id
[thirdparty/git.git] / builtin / pack-objects.c
index 4bdae5a1d8f4c988064475c0583e19c06dabf101..907e1123317922e553b076c98427c043c2ec468d 100644 (file)
@@ -1012,7 +1012,7 @@ static int want_object_in_pack(const struct object_id *oid,
        int want;
        struct list_head *pos;
 
-       if (!exclude && local && has_loose_object_nonlocal(oid->hash))
+       if (!exclude && local && has_loose_object_nonlocal(oid))
                return 0;
 
        /*