diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-02-01 20:48:54 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-01 14:12:41 -0800 |
commit | 95099731bf2c79ccf5870655e36caa4215f0ced0 (patch) | |
tree | 29e245b35e7a6b4f40db43a09659d748d1e20eba /t/t4013 | |
parent | Git 1.7.9 (diff) | |
download | tgif-95099731bf2c79ccf5870655e36caa4215f0ced0.tar.xz |
sha1_file.c: move the core logic of find_pack_entry() into fill_pack_entry()
The new helper function implements the logic to find the offset for the
object in one pack and fill a pack_entry structure. The next patch will
restructure the loop and will call the helper from two places.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013')
0 files changed, 0 insertions, 0 deletions