Hash :
e1d88030
Author :
Date :
2011-08-04T13:07:55
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>
#ifndef INCLUDE_remote_h__
#define INCLUDE_remote_h__
#include "refspec.h"
#include "transport.h"
#include "repository.h"
struct git_remote {
char *name;
char *url;
git_headarray refs;
struct git_refspec fetch;
struct git_refspec push;
git_transport *transport;
git_repository *repo;
int need_pack:1;
};
#endif