diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-12-05 20:02:43 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-10 16:14:17 -0800 |
commit | 31c42bff35ffc0a99ca77947389749d1397e1079 (patch) | |
tree | ee27981c0a702bc8de3aaf773b354a5b101d5e81 /send-pack.c | |
parent | fetch: add --update-shallow to accept refs that update .git/shallow (diff) | |
download | tgif-31c42bff35ffc0a99ca77947389749d1397e1079.tar.xz |
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>
Diffstat (limited to 'send-pack.c')
0 files changed, 0 insertions, 0 deletions