summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d3539e)
raw | patch | inline | side by side (parent: 2d3539e)
author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 3 Mar 2008 02:34:36 +0000 (21:34 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 3 Mar 2008 08:05:45 +0000 (00:05 -0800) |
Apparently fetch_map is passed through, but is not actually used.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c | patch | blob | history |
diff --git a/builtin-fetch.c b/builtin-fetch.c
index ac335f20feba9a9e68098c9e89d69cf61c1c3ed7..f8b9542ba6a5a9e68e12347488e2dee38ef10741 100644 (file)
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
return 0;
}
-static struct ref *find_non_local_tags(struct transport *transport,
- struct ref *fetch_map)
+static struct ref *find_non_local_tags(struct transport *transport)
{
static struct path_list existing_refs = { NULL, 0, 0, 0 };
struct path_list new_refs = { NULL, 0, 0, 1 };
/* if neither --no-tags nor --tags was specified, do automated tag
* following ... */
if (tags == TAGS_DEFAULT && autotags) {
- ref_map = find_non_local_tags(transport, fetch_map);
+ ref_map = find_non_local_tags(transport);
if (ref_map) {
transport_set_option(transport, TRANS_OPT_DEPTH, "0");
fetch_refs(transport, ref_map);