diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-16 15:58:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 06:19:43 +0900 |
commit | 953035009601a971137ecc2c7d5e662189cfda50 (patch) | |
tree | 49776e8ea2b13acde19161f9fba8fc1df99b203a /remote.c | |
parent | e5349abf93dfde8052bbcabb4be1dba77feb7053 (diff) | |
download | git-953035009601a971137ecc2c7d5e662189cfda50.tar.gz |
remote: remove add_prune_tags_to_fetch_refspec
Remove 'add_prune_tags_to_fetch_refspec()' function and instead have the
only caller directly add the tag refspec using 'refspec_append()'.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -77,11 +77,6 @@ static const char *alias_url(const char *url, struct rewrites *r) return xstrfmt("%s%s", r->rewrite[longest_i]->base, url + longest->len); } -void add_prune_tags_to_fetch_refspec(struct remote *remote) -{ - refspec_append(&remote->fetch, TAG_REFSPEC); -} - static void add_url(struct remote *remote, const char *url) { ALLOC_GROW(remote->url, remote->url_nr + 1, remote->url_alloc); |