Patrick Steinhardt
d67530f6bb
packfile: introduce function to load and add packfiles
...
We have a recurring pattern where we essentially perform an upsert of a
packfile in case it isn't yet known by the packfile store. The logic to
do so is non-trivial as we have to reconstruct the packfile's key, check
the map of packfiles, then create the new packfile and finally add it to
the store.
Introduce a new function that does this dance for us. Refactor callsites
to use it.
Signed-off-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2025-09-24 11:53:50 -07:00
..
2025-08-04 08:10:33 -07:00
2025-07-23 08:15:20 -07:00
2025-07-01 14:58:24 -07:00
2025-09-24 11:53:50 -07:00
2025-08-21 13:46:59 -07:00
2025-07-23 08:15:21 -07:00
2025-04-15 08:24:35 -07:00
2025-08-05 11:53:55 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-08-21 13:47:00 -07:00
2025-07-23 08:15:21 -07:00
2025-07-23 08:15:18 -07:00
2025-09-02 09:38:03 -07:00
2025-07-23 08:15:22 -07:00
2025-08-15 09:34:48 -07:00
2025-07-23 08:15:21 -07:00
2025-08-05 11:53:55 -07:00
2025-07-23 08:15:20 -07:00
2025-07-23 08:15:20 -07:00
2025-07-23 08:15:22 -07:00
2025-08-29 09:44:38 -07:00
2025-04-15 08:24:35 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-03-03 08:17:47 -08:00
2025-07-23 08:15:18 -07:00
2025-08-09 17:22:01 -07:00
2025-07-01 14:46:38 -07:00
2025-08-04 08:10:33 -07:00
2025-09-24 11:53:50 -07:00
2025-06-04 08:52:25 -07:00
2025-07-23 08:15:20 -07:00
2025-08-11 09:19:40 -07:00
2025-08-22 13:13:20 -07:00
2025-08-21 13:46:58 -07:00
2025-07-23 08:15:22 -07:00
2025-09-24 11:53:50 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-09-24 11:53:50 -07:00
2025-04-24 17:25:34 -07:00
2025-07-23 08:15:22 -07:00
2025-08-04 08:10:33 -07:00
2025-07-23 08:15:22 -07:00
2025-07-01 14:58:24 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-08-08 11:13:12 -07:00
2025-08-21 13:47:00 -07:00
2025-08-25 14:22:03 -07:00
2025-08-05 11:53:55 -07:00
2025-07-16 22:16:15 -07:00
2025-09-02 09:38:03 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-08-21 13:47:00 -07:00
2025-09-02 09:38:03 -07:00
2025-07-15 15:18:18 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-08-04 08:10:33 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:22 -07:00
2025-08-04 08:10:33 -07:00
2025-09-24 11:53:50 -07:00
2025-08-21 13:46:57 -07:00
2025-08-05 09:11:54 -07:00
2025-08-21 13:46:58 -07:00
2025-09-24 11:53:50 -07:00
2025-08-05 11:53:55 -07:00
2025-06-05 08:35:22 -07:00
2025-08-17 09:13:41 -07:00
2025-07-23 08:15:18 -07:00
2025-08-04 08:10:33 -07:00
2025-08-04 08:10:33 -07:00
2025-07-23 08:15:18 -07:00
2025-08-07 08:14:37 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-07-01 14:58:24 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:18 -07:00
2025-08-21 13:46:58 -07:00
2025-07-23 08:15:18 -07:00
2025-08-05 11:53:56 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-08-21 13:46:59 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:21 -07:00
2025-07-23 08:15:22 -07:00