packed_ref_cache: remember the file-wide peeling state
authorMichael Haggerty <redacted>
Mon, 25 Sep 2017 08:00:06 +0000 (10:00 +0200)
committerJunio C Hamano <redacted>
Mon, 25 Sep 2017 09:02:45 +0000 (18:02 +0900)
commitdaa45408c12053d608d86f0c1daa23b79815624f
treea2b7fb46bcf2051749260075cf514c92b6a42114
parent6a9bc4034ab59a2d241151f9025c07e62178ad95
packed_ref_cache: remember the file-wide peeling state

Rather than store the peeling state (i.e., the one defined by traits
in the `packed-refs` file header line) in a local variable in
`read_packed_refs()`, store it permanently in `packed_ref_cache`. This
will be needed when we stop reading all packed refs at once.

Signed-off-by: Michael Haggerty <redacted>
Signed-off-by: Junio C Hamano <redacted>
refs/packed-backend.c
git clone https://git.99rst.org/PROJECT