walker: drop fields of `struct walker` which are always 1
[gitweb.git] / remote-curl.c
index a7c4c9b5ff4822e36bfc43a59d113c624537297e..dd86a6c4fa2e1b480fed5bfbc1fafffbc69261e7 100644 (file)
@@ -797,9 +797,6 @@ static int fetch_dumb(int nr_heads, struct ref **to_fetch)
                targets[i] = xstrdup(oid_to_hex(&to_fetch[i]->old_oid));
 
        walker = get_http_walker(url.buf);
-       walker->get_all = 1;
-       walker->get_tree = 1;
-       walker->get_history = 1;
        walker->get_verbosely = options.verbosity >= 3;
        walker->get_recover = 0;
        ret = walker_fetch(walker, nr_heads, targets, NULL, NULL);