Karthik Nayak
2cf3fe63f6
packfile: add repository to struct packed_git
...
The struct `packed_git` holds information regarding a packed object
file. Let's add the repository variable to this object, to represent the
repository that this packfile belongs to. This helps remove dependency
on the global `the_repository` object in `packfile.c` by simply using
repository information now readily available in the struct.
We do need to consider that a packfile could be part of the alternates
of a repository, but considering that we only have one repository struct
and also that we currently anyways use 'the_repository', we should be
OK with this change.
We also modify `alloc_packed_git` to ensure that the repository is added
to newly created `packed_git` structs. This requires modifying the
function and all its callee to pass the repository object down the
levels.
Helped-by: Taylor Blau <me@ttaylorr.com >
Signed-off-by: Karthik Nayak <karthik.188@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-12-04 08:21:53 +09:00
..
2024-10-11 09:37:17 -07:00
2024-09-23 10:35:09 -07:00
2024-10-25 14:02:36 -04:00
2024-09-13 14:32:24 -07:00
2024-10-11 09:37:18 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-10 13:09:13 -07:00
2024-09-13 14:32:24 -07:00
2024-09-30 11:23:04 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-10-08 23:35:45 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-11-01 12:53:19 -04:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-10-21 16:05:04 -04:00
2024-09-13 14:32:24 -07:00
2024-12-04 08:21:53 +09:00
2024-09-25 10:24:54 -07:00
2024-10-08 10:22:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-15 16:56:43 -04:00
2024-10-18 13:56:26 -04:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-10-02 07:46:26 -07:00
2024-09-13 14:32:24 -07:00
2024-12-04 08:21:53 +09:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-24 10:54:39 -07:00
2024-10-08 10:22:10 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-24 10:54:39 -07:00
2024-10-21 15:52:48 -04:00
2024-10-25 17:35:46 -04:00
2024-10-25 17:35:46 -04:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-10-08 10:22:06 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-30 11:23:08 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-30 11:23:05 -07:00
2024-09-13 14:32:24 -07:00
2024-09-30 11:23:09 -07:00
2024-10-17 16:10:54 -04:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-02 07:46:25 -07:00
2024-09-30 11:23:04 -07:00
2024-09-13 14:32:24 -07:00
2024-10-09 10:48:08 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-10-08 11:49:22 -07:00
2024-09-23 10:35:09 -07:00