summaryrefslogtreecommitdiff
path: root/src/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-06-23 03:04:23 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-06-27 02:12:40 +0200
commit9ba49bb5c861651c5136ad6678fc1570801ddec1 (patch)
treefbe1d71384587a1be506cca4219a1bff129f3ff8 /src/remote.h
parentc7c787ce0cd944c0e904d47c5ef1088de2fcf85a (diff)
downloadlibgit2-9ba49bb5c861651c5136ad6678fc1570801ddec1.tar.gz
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