Abhishek Kumar 6da43d937c object: drop parsed_object_pool->commit_count
14ba97f8 (alloc: allow arbitrary repositories for alloc functions,
2018-05-15) introduced parsed_object_pool->commit_count to keep count of
commits per repository and was used to assign commit->index.

However, commit-slab code requires commit->index values to be unique
and a global count would be correct, rather than a per-repo count.

Let's introduce a static counter variable, `parsed_commits_count` to
keep track of parsed commits so far.

As commit_count has no use anymore, let's also drop it from the struct.

Signed-off-by: Abhishek Kumar <abhishekkumar8222@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-06-17 14:37:14 -07:00
..
2020-04-28 10:47:10 -07:00
2020-05-05 14:54:27 -07:00
2019-11-11 11:46:29 +09:00
2020-04-28 10:47:10 -07:00
2020-06-08 18:06:30 -07:00
2020-05-05 14:54:27 -07:00
2020-04-28 15:50:00 -07:00
2020-05-13 12:19:19 -07:00
2020-05-13 12:19:19 -07:00
2020-03-24 15:04:43 -07:00
2020-05-05 14:54:27 -07:00
2020-05-01 13:39:59 -07:00
2020-05-05 14:54:27 -07:00
2019-05-13 14:22:54 +09:00
2020-04-28 10:47:10 -07:00
2020-03-24 15:04:44 -07:00
2020-05-13 12:19:18 -07:00
2020-05-05 14:54:27 -07:00
2020-05-13 12:19:19 -07:00
2020-04-28 10:47:10 -07:00
2020-05-13 12:19:18 -07:00
2020-04-28 10:47:10 -07:00
2020-05-13 12:19:18 -07:00
2020-04-28 10:47:10 -07:00
2020-04-28 10:47:10 -07:00
2019-06-19 08:19:21 -07:00
2020-03-10 11:41:40 -07:00