diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2015-11-10 02:22:20 +0000 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2015-11-20 08:02:05 -0500 |
commit | f4e54d02b894064d370e461385b48701485672bd (patch) | |
tree | c6e25d995009bbe422f87a2da72ed5d5b2098ced /transport.h | |
parent | b419aa25d5622268f515b26e76420eb2dd89e7e6 (diff) | |
download | git-f4e54d02b894064d370e461385b48701485672bd.tar.gz |
Convert struct ref to use object_id.
Use struct object_id in three fields in struct ref and convert all the
necessary places that use it.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/transport.h b/transport.h index 4336dd33eb..8ebaaf2cae 100644 --- a/transport.h +++ b/transport.h @@ -74,15 +74,15 @@ struct transport { /** * Push the objects and refs. Send the necessary objects, and * then, for any refs where peer_ref is set and - * peer_ref->new_sha1 is different from old_sha1, tell the - * remote side to update each ref in the list from old_sha1 to - * peer_ref->new_sha1. + * peer_ref->new_oid is different from old_oid, tell the + * remote side to update each ref in the list from old_oid to + * peer_ref->new_oid. * * Where possible, set the status for each ref appropriately. * * The transport must modify new_sha1 in the ref to the new * value if the remote accepted the change. Note that this - * could be a different value from peer_ref->new_sha1 if the + * could be a different value from peer_ref->new_oid if the * process involved generating new commits. **/ int (*push_refs)(struct transport *transport, struct ref *refs, int flags); |