]> git.ipfire.org Git - thirdparty/git.git/commit - refs/packed-backend.c
packed_read_raw_ref(): read the reference from the mmapped buffer
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 25 Sep 2017 08:00:13 +0000 (10:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Sep 2017 09:02:45 +0000 (18:02 +0900)
commitf3987ab36d74382852c0db03ac25e58f83178225
tree2871cc9c572f3fb1e0ffccc5a83961bb12a44d14
parentd1cf15516feb024f34ae5fbbdad8f538b4e62fce
packed_read_raw_ref(): read the reference from the mmapped buffer

Instead of reading the reference from the `ref_cache`, read it
directly from the mmapped buffer.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/packed-backend.c