diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-23 03:04:23 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-27 02:12:40 +0200 |
commit | 9ba49bb5c861651c5136ad6678fc1570801ddec1 (patch) | |
tree | fbe1d71384587a1be506cca4219a1bff129f3ff8 /src/remote.h | |
parent | c7c787ce0cd944c0e904d47c5ef1088de2fcf85a (diff) | |
download | libgit2-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h index afd2d1bb..fdd6cd56 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 |