Jeff King
3df28caefb
pack-objects: convert packlist_find() to use object_id
...
We take a raw hash pointer, but most of our callers have a "struct
object_id" already. Let's switch to taking the full struct, which will
let us continue removing uses of raw sha1 buffers.
There are two callers that do need special attention:
- in rebuild_existing_bitmaps(), we need to switch to
nth_packed_object_oid(). This incurs an extra hash copy over
pointing straight to the mmap'd sha1, but it shouldn't be measurable
compared to the rest of the operation.
- in can_reuse_delta() we already spent the effort to copy the sha1
into a "struct object_id", but now we just have to do so a little
earlier in the function (we can't easily convert that function's
callers because they may be pointing at mmap'd REF_DELTA blocks).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-06-20 09:54:58 -07:00
..
2019-04-10 12:52:50 +09:00
2019-06-17 10:15:15 -07:00
2018-08-13 14:14:44 -07:00
2019-01-02 13:05:30 -08:00
2019-05-28 10:51:01 -07:00
2019-04-25 16:41:21 +09:00
2019-03-21 12:03:35 +09:00
2019-01-24 12:35:44 -08:00
2019-02-06 22:05:27 -08:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2017-06-15 12:56:22 -07:00
2017-11-15 12:04:57 +09:00
2019-02-06 22:05:23 -08:00
2019-04-25 16:41:14 +09:00
2019-01-24 11:55:06 -08:00
2019-06-17 10:15:20 -07:00
2019-05-13 14:22:53 +09:00
2019-04-01 12:14:50 +09:00
2019-03-08 10:31:24 +09:00
2019-05-13 23:50:35 +09:00
2019-01-29 12:47:54 -08:00
2018-11-13 14:22:02 +09:00
2017-05-30 14:45:03 +09:00
2019-06-20 09:23:53 -07:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-03-07 09:59:54 +09:00
2019-04-25 16:41:12 +09:00
2019-05-19 16:45:35 +09:00
2019-05-14 16:48:56 +09:00
2019-03-20 18:34:09 +09:00
2019-03-20 15:16:06 +09:00
2018-10-19 13:34:02 +09:00
2019-03-21 12:03:35 +09:00
2019-03-20 15:16:06 +09:00
2019-04-01 12:51:51 +09:00
2019-04-01 11:57:39 +09:00
2019-02-06 22:05:23 -08:00
2019-05-13 14:22:53 +09:00
2019-02-20 12:31:56 -08:00
2019-04-01 18:08:05 +09:00
2019-06-13 13:18:46 -07:00
2018-11-06 12:56:29 +09:00
2019-06-13 13:19:42 -07:00
2019-04-25 16:41:20 +09:00
2019-03-21 12:03:35 +09:00
2019-01-14 15:29:28 -08:00
2017-03-21 11:18:41 -07:00
2017-05-08 12:18:19 +09:00
2018-11-02 11:04:55 +09:00
2018-11-06 12:56:29 +09:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-02-06 22:05:23 -08:00
2019-06-17 10:15:17 -07:00
2018-05-16 11:42:03 +09:00
2019-05-13 14:22:54 +09:00
2019-05-07 13:48:41 +09:00
2019-01-24 11:55:06 -08:00
2019-05-13 14:22:54 +09:00
2019-01-15 15:38:29 -08:00
2019-06-20 09:54:58 -07:00
2019-04-01 11:57:38 +09:00
2019-04-26 10:54:03 +09:00
2019-05-08 19:27:43 +09:00
2019-03-07 09:59:55 +09:00
2019-02-14 15:25:33 -08:00
2019-05-09 00:37:24 +09:00
2019-01-18 13:49:52 -08:00
2019-05-13 14:22:53 +09:00
2019-05-13 14:22:53 +09:00
2019-06-13 13:19:40 -07:00
2019-05-13 14:22:54 +09:00
2019-02-06 22:05:27 -08:00
2017-09-22 12:49:57 +09:00
2017-05-30 14:45:04 +09:00
2019-05-13 14:22:54 +09:00
2019-03-18 14:09:54 +09:00
2019-05-09 00:37:24 +09:00
2019-01-15 15:38:29 -08:00
2019-04-25 16:41:11 +09:00
2019-05-13 14:22:54 +09:00
2019-01-24 11:55:06 -08:00
2019-04-19 12:05:36 +09:00
2019-05-13 14:22:54 +09:00
2019-01-02 13:05:30 -08:00
2018-12-15 12:24:33 +09:00
2019-05-13 14:22:54 +09:00
2018-05-29 00:28:22 +09:00
2019-05-19 16:45:30 +09:00
2019-04-25 16:41:12 +09:00
2018-12-26 15:41:47 -08:00
2019-06-13 13:19:34 -07:00
2017-11-06 10:31:08 +09:00
2019-05-19 16:45:26 +09:00
2018-05-16 11:42:03 +09:00
2018-08-29 11:32:49 -07:00
2019-05-28 12:43:42 -07:00
2018-09-12 15:17:17 -07:00
2018-02-09 10:24:50 -08:00
2018-10-26 10:17:59 +09:00
2019-05-13 14:22:53 +09:00
2017-06-15 12:56:22 -07:00
2019-05-13 14:22:54 +09:00
2017-06-15 12:56:22 -07:00
2018-04-09 06:14:45 +09:00
2019-06-13 13:19:40 -07:00
2019-05-13 14:22:53 +09:00