Re: [PATCH 13/24] builtin/pack-objects: convert to struct object_id

2017-10-02 Thread Stefan Beller
> @@ -2520,17 +2521,17 @@ static void read_object_list_from_stdin(void) > continue; > } > if (line[0] == '-') { > - if (get_sha1_hex(line+1, sha1)) > + if (get_oid_hex(line+1, &oid)) >

[PATCH 13/24] builtin/pack-objects: convert to struct object_id

2017-10-01 Thread brian m. carlson
This is one of the last unconverted callers to peel_ref. While we're fixing that, convert the rest of the file, since it will need to be converted at some point anyway. Signed-off-by: brian m. carlson --- builtin/pack-objects.c | 131 + 1 file cha