diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-03-26 16:01:37 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-28 09:59:34 -0700 |
commit | ee3051bd2307cdc0145aa9ed9dcacb8acfc08c40 (patch) | |
tree | 34c83024d11dbd1de894fc8d1e92a9714b30c463 /send-pack.c | |
parent | f9b11147e00f066d24d9eaf9783beaa173fdd5e0 (diff) | |
download | git-ee3051bd2307cdc0145aa9ed9dcacb8acfc08c40.tar.gz |
sha1-array: convert internal storage for struct sha1_array to object_id
Make the internal storage for struct sha1_array use an array of struct
object_id internally. Update the users of this struct which inspect its
internals.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.c')
-rw-r--r-- | send-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c index d2d2a49a02..b3040391cd 100644 --- a/send-pack.c +++ b/send-pack.c @@ -98,7 +98,7 @@ static int pack_objects(int fd, struct ref *refs, struct sha1_array *extra, stru */ po_in = xfdopen(po.in, "w"); for (i = 0; i < extra->nr; i++) - feed_object(extra->sha1[i], po_in, 1); + feed_object(extra->oid[i].hash, po_in, 1); while (refs) { if (!is_null_oid(&refs->old_oid)) |