File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -792,14 +792,6 @@ void packfile_store_add_pack(struct packfile_store *store,
792792 hashmap_add (& store -> map , & pack -> packmap_ent );
793793}
794794
795- void packfile_store_add_pack_also_to_mru (struct repository * r ,
796- struct packed_git * pack )
797- {
798- packfile_store_add_pack (r -> objects -> packfiles , pack );
799- list_add (& pack -> mru ,
800- packfile_store_get_packs_mru (r -> objects -> packfiles ));
801- }
802-
803795struct packed_git * packfile_store_load_pack (struct packfile_store * store ,
804796 const char * idx_path , int local )
805797{
Original file line number Diff line number Diff line change @@ -135,13 +135,6 @@ void packfile_store_reprepare(struct packfile_store *store);
135135 */
136136void packfile_store_add_pack (struct packfile_store * store ,
137137 struct packed_git * pack );
138- /*
139- * Add the pack to the store so that contained objects become accessible via
140- * the store, and then mark it as most recently used. This moves ownership into
141- * the store.
142- */
143- void packfile_store_add_pack_also_to_mru (struct repository * r ,
144- struct packed_git * pack );
145138
146139/*
147140 * Load and iterate through all packs of the given repository. This helper
You can’t perform that action at this time.
0 commit comments