libgit2/src/remote.h
Carlos Martín Nieto 9ba49bb5c8 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>
2011-06-27 02:12:40 +02:00

17 lines
256 B
C

#ifndef INCLUDE_remote_h__
#define INCLUDE_remote_h__
#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