diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-12-05 20:02:29 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-10 16:14:15 -0800 |
commit | 13eb4626c43b3116bb431671d593565eadc36852 (patch) | |
tree | 01f7f161d5eedaaf3498eef791cbefbcf6234f68 /transport.c | |
parent | 75f8cbab2a2ddc50728ade82baad223ed54bb040 (diff) | |
download | git-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.c | 3 |
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, |