| 1894 | } |
| 1895 | |
| 1896 | static int add_object_entry_from_bitmap(const struct object_id *oid, |
| 1897 | enum object_type type, |
| 1898 | int flags UNUSED, uint32_t name_hash, |
| 1899 | struct packed_git *pack, off_t offset, |
| 1900 | void *payload UNUSED) |
| 1901 | { |
| 1902 | display_progress(progress_state, ++nr_seen); |
| 1903 | |
| 1904 | if (have_duplicate_entry(oid, 0)) |
| 1905 | return 0; |
| 1906 | |
| 1907 | if (!want_object_in_pack(oid, 0, &pack, &offset)) |
| 1908 | return 0; |
| 1909 | |
| 1910 | create_object_entry(oid, type, name_hash, 0, 0, pack, offset); |
| 1911 | return 1; |
| 1912 | } |
| 1913 | |
| 1914 | struct pbase_tree_cache { |
| 1915 | struct object_id oid; |
nothing calls this directly
no test coverage detected