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-06-23 05:04:23 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-06-27 04:12:40 +0400
commit9ba49bb5c861651c5136ad6678fc1570801ddec1 (patch)
treefbe1d71384587a1be506cca4219a1bff129f3ff8 /src/remote.h
parentc7c787ce0cd944c0e904d47c5ef1088de2fcf85a (diff)
Add git_remote_connect and git_remote_ls
These allow you to implement git-ls-remote when given a reference name and a repository. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/remote.h')
-rw-r--r--src/remote.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h
index afd2d1bb9..fdd6cd569 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -3,12 +3,14 @@
#include "remote.h"
#include "refspec.h"
+#include "transport.h"
struct git_remote {
char *name;
char *url;
struct git_refspec fetch;
struct git_refspec push;
+ git_transport *transport;
};
#endif