Jonathan Nieder
607bd8315c
pack: make packed_git_mru global a value instead of a pointer
...
The MRU cache that keeps track of recently used packs is represented
using two global variables:
struct mru packed_git_mru_storage;
struct mru *packed_git_mru = &packed_git_mru_storage;
Callers never assign to the packed_git_mru pointer, though, so we can
simplify by eliminating it and using &packed_git_mru_storage (renamed
to &packed_git_mru) directly. This variable is only used by the
packfile subsystem, making this a relatively uninvasive change (and
any new unadapted callers would trigger a compile error).
Noticed while moving these globals to the object_store struct.
Signed-off-by: Stefan Beller <sbeller@google.com >
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com >
Acked-by: Jeff King <peff@peff.net >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2017-09-14 15:05:48 +09:00
..
2017-08-26 22:55:08 -07:00
2017-08-23 15:12:06 -07:00
2016-09-07 12:59:42 -07:00
2016-11-22 13:55:20 -08:00
2017-09-06 13:11:25 +09:00
2017-08-17 13:33:20 -07:00
2017-03-21 11:18:41 -07:00
2017-08-23 15:12:07 -07:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2016-02-22 14:51:09 -08:00
2017-06-15 12:56:22 -07:00
2017-08-26 22:55:08 -07:00
2017-08-11 13:26:58 -07:00
2017-08-23 15:12:06 -07:00
2017-06-15 12:56:22 -07:00
2017-07-17 13:54:51 -07:00
2017-08-26 22:55:08 -07:00
2017-06-24 14:28:41 -07:00
2017-08-23 15:12:06 -07:00
2017-05-30 14:45:03 +09:00
2017-08-11 13:27:01 -07:00
2017-08-03 13:11:02 -07:00
2017-08-03 13:11:02 -07:00
2017-08-03 13:11:02 -07:00
2017-08-03 13:11:02 -07:00
2017-08-20 21:52:08 -07:00
2017-06-30 12:49:28 -07:00
2017-03-31 08:33:56 -07:00
2017-08-26 22:55:09 -07:00
2017-08-11 13:27:05 -07:00
2017-07-13 12:42:51 -07:00
2017-08-26 22:55:09 -07:00
2017-08-23 15:12:07 -07:00
2015-10-16 15:27:52 -07:00
2017-08-26 22:55:08 -07:00
2017-08-20 21:52:53 -07:00
2017-06-15 12:56:22 -07:00
2017-08-23 15:12:06 -07:00
2017-06-15 12:56:22 -07:00
2017-08-26 22:55:04 -07:00
2017-08-24 10:20:02 -07:00
2017-08-26 22:55:08 -07:00
2017-06-23 18:27:07 -07:00
2017-06-24 14:28:41 -07:00
2017-03-21 11:18:41 -07:00
2017-05-08 12:18:19 +09:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-03-26 22:08:21 -07:00
2016-09-15 13:17:32 -07:00
2017-08-14 12:38:54 -07:00
2017-09-10 17:08:22 +09:00
2015-10-16 15:27:52 -07:00
2017-05-08 12:18:19 +09:00
2017-08-03 13:11:02 -07:00
2017-07-10 13:42:51 -07:00
2017-08-11 13:26:56 -07:00
2017-09-14 15:05:48 +09:00
2017-08-23 15:12:06 -07:00
2017-04-14 03:53:25 -07:00
2017-06-15 12:56:22 -07:00
2017-08-26 22:55:09 -07:00
2017-08-19 14:01:34 -07:00
2017-08-22 10:29:03 -07:00
2017-08-22 10:29:03 -07:00
2017-08-03 13:11:02 -07:00
2017-06-15 12:56:22 -07:00
2017-08-23 15:12:06 -07:00
2017-07-10 13:42:51 -07:00
2017-05-30 14:45:04 +09:00
2017-05-30 14:45:04 +09:00
2017-08-22 10:29:03 -07:00
2017-06-24 14:28:41 -07:00
2017-08-20 21:52:08 -07:00
2017-06-15 12:56:22 -07:00
2017-08-26 22:55:08 -07:00
2017-08-24 10:20:02 -07:00
2017-07-17 13:54:51 -07:00
2017-08-02 15:16:09 -07:00
2017-08-03 13:11:02 -07:00
2017-08-22 10:29:03 -07:00
2017-06-15 12:56:22 -07:00
2017-08-11 13:26:58 -07:00
2017-01-23 18:51:56 -08:00
2017-06-15 12:56:22 -07:00
2017-08-26 22:55:08 -07:00
2017-06-15 12:56:22 -07:00
2017-08-11 13:27:07 -07:00
2017-07-17 13:54:38 -07:00
2017-06-24 14:28:41 -07:00
2017-08-20 21:51:38 -07:00
2017-07-17 13:54:38 -07:00
2017-06-15 12:56:22 -07:00
2017-05-30 14:45:04 +09:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-08-11 13:26:58 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00