commit | 31c42bff35ffc0a99ca77947389749d1397e1079 | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Thu Dec 05 20:02:43 2013 +0700 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Dec 10 16:14:17 2013 -0800 |
tree | ee27981c0a702bc8de3aaf773b354a5b101d5e81 | |
parent | 48d25cae22667dfc2c31ad620172c0f0a3ac1490 [diff] |
receive-pack: reorder some code in unpack() This is the preparation for adding --shallow-file to both unpack-objects and index-pack. To sum up: - struct argv_array used instead of const char ** - status/code, ip/child, unpacker/keeper are moved out to function top level - successful flow now ends at the end of the function Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>