summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-12-05 20:02:29 +0700
committerJunio C Hamano <gitster@pobox.com>2013-12-10 16:14:15 -0800
commit13eb4626c43b3116bb431671d593565eadc36852 (patch)
tree01f7f161d5eedaaf3498eef791cbefbcf6234f68 /transport.c
parent75f8cbab2a2ddc50728ade82baad223ed54bb040 (diff)
downloadgit-13eb4626c43b3116bb431671d593565eadc36852.tar.gz
remote.h: replace struct extra_have_objects with struct sha1_array
The latter can do everything the former can and is used in many more places. 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 'transport.c')
-rw-r--r--transport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/transport.c b/transport.c
index 7202b7777d..12e46ad661 100644
--- a/transport.c
+++ b/transport.c
@@ -14,6 +14,7 @@
#include "url.h"
#include "submodule.h"
#include "string-list.h"
+#include "sha1-array.h"
/* rsync support */
@@ -454,7 +455,7 @@ struct git_transport_data {
struct child_process *conn;
int fd[2];
unsigned got_remote_heads : 1;
- struct extra_have_objects extra_have;
+ struct sha1_array extra_have;
};
static int set_git_option(struct git_transport_options *opts,