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/remote.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/remote.h')
-rw-r--r--src/remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h
index b94193c8f..f5686a29c 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -8,6 +8,7 @@
struct git_remote {
char *name;
char *url;
+ git_headarray refs;
struct git_refspec fetch;
struct git_refspec push;
git_transport *transport;