diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-11-28 08:40:40 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-11-28 08:40:40 +0100 |
commit | d88d4311c7e08ad0d38edae006b50e2a548c937d (patch) | |
tree | 1b26cee0c3d383043902c599893299fd8fdc5302 /src/pkt.h | |
parent | c94785a9f373b6604402ba6a301b828b80ab8cd8 (diff) | |
download | libgit2-repo-ownership.tar.gz |
remote: Cleanup the remotes coderepo-ownership
- Hide the remaining transports code
- Drop `git_headarray`, switch to using a callback to list refs. Makes
the code cleaner.
Diffstat (limited to 'src/pkt.h')
-rw-r--r-- | src/pkt.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,8 +68,8 @@ int git_pkt_buffer_flush(git_buf *buf); int git_pkt_send_flush(int s); int git_pkt_buffer_done(git_buf *buf); int git_pkt_send_done(int s); -int git_pkt_buffer_wants(git_headarray *refs, git_transport_caps *caps, git_buf *buf); -int git_pkt_send_wants(git_headarray *refs, git_transport_caps *caps, int fd); +int git_pkt_buffer_wants(const git_vector *refs, git_transport_caps *caps, git_buf *buf); +int git_pkt_send_wants(const git_vector *refs, git_transport_caps *caps, int fd); int git_pkt_buffer_have(git_oid *oid, git_buf *buf); int git_pkt_send_have(git_oid *oid, int fd); void git_pkt_free(git_pkt *pkt); |