diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-09-25 10:00:06 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-09-25 18:02:45 +0900 |
| commit | daa45408c12053d608d86f0c1daa23b79815624f (patch) | |
| tree | a2b7fb46bcf2051749260075cf514c92b6a42114 /refs/files-backend.c | |
| parent | read_packed_refs(): read references with minimal copying (diff) | |
| download | git-daa45408c12053d608d86f0c1daa23b79815624f.tar.gz git-daa45408c12053d608d86f0c1daa23b79815624f.zip | |
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 <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions
