aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-object.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-25 15:40:37 +0200
committerJunio C Hamano <gitster@pobox.com>2019-06-25 14:05:38 -0700
commitdb27dca5cfe41ffa62f3a34cff2f7fafb2547307 (patch)
treecc03a62addf619d1619c3f2068c3ea1702dd16af /fetch-object.h
parentremote: add promisor and partial clone config to the doc (diff)
downloadgit-db27dca5cfe41ffa62f3a34cff2f7fafb2547307.tar.gz
git-db27dca5cfe41ffa62f3a34cff2f7fafb2547307.zip
Remove fetch-object.{c,h} in favor of promisor-remote.{c,h}
As fetch_objects() is now used only in promisor-remote.c and should't be used outside it, let's move it into promisor-remote.c, make it static there, and remove fetch-object.{c,h}. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-object.h')
-rw-r--r--fetch-object.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fetch-object.h b/fetch-object.h
deleted file mode 100644
index 7bcc7cadb0..0000000000
--- a/fetch-object.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef FETCH_OBJECT_H
-#define FETCH_OBJECT_H
-
-struct object_id;
-
-int fetch_objects(const char *remote_name, const struct object_id *oids,
- int oid_nr);
-
-#endif