Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-08-04 15:07:55 +0400
committerVicent Marti <tanoku@gmail.com>2011-08-18 04:34:08 +0400
commite1d88030687b2ccd652cfedd97714fb37367bbf9 (patch)
tree57b33e70540666ebc38e12a16b7de7ff23cb00ab /src/fetch.h
parent44daec422950e0227a863021b6bf4fb8554b6c9c (diff)
Don't expose the fetch code to the user
Move the generation of the want-list to be done from the negotiate function, and keep the filtered references inside the remote structure. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/fetch.h')
-rw-r--r--src/fetch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fetch.h b/src/fetch.h
new file mode 100644
index 000000000..2856f12ee
--- /dev/null
+++ b/src/fetch.h
@@ -0,0 +1,6 @@
+#ifndef INCLUDE_fetch_h__
+#define INCLUDE_fetch_h__
+
+int git_fetch_negotiate(git_remote *remote);
+
+#endif