author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Wed, 1 Feb 2012 13:48:54 +0000 (20:48 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Feb 2012 22:12:41 +0000 (14:12 -0800) | ||
commit | 95099731bf2c79ccf5870655e36caa4215f0ced0 | |
tree | 29e245b35e7a6b4f40db43a09659d748d1e20eba | tree | snapshot |
parent | 828ea97de486c1693d6e4f2c7347acb50235a85d | commit | diff |
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>
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>
sha1_file.c | diff | blob | history |