static void get_idx_file(char *name) { select_getanyfile(); hdr_cache_forever(); send_local_file("application/x-git-packed-objects-toc", name); }
static void get_idx_file(struct strbuf *hdr, char *name) { select_getanyfile(hdr); hdr_cache_forever(hdr); send_local_file(hdr, "application/x-git-packed-objects-toc", name); }
static void get_loose_object(char *name) { select_getanyfile(); hdr_cache_forever(); send_local_file("application/x-git-loose-object", name); }
static void get_loose_object(struct strbuf *hdr, char *name) { select_getanyfile(hdr); hdr_cache_forever(hdr); send_local_file(hdr, "application/x-git-loose-object", name); }