1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-06 02:56:11 +02:00
git/remote.h

31 lines
481 B
C
Raw Normal View History

#ifndef REMOTE_H
#define REMOTE_H
struct remote {
const char *name;
const char **uri;
int uri_nr;
const char **push_refspec;
struct refspec *push;
int push_refspec_nr;
const char *receivepack;
};
struct remote *remote_get(const char *name);
struct refspec {
unsigned force : 1;
unsigned pattern : 1;
const char *src;
char *dst;
};
int match_refs(struct ref *src, struct ref *dst, struct ref ***dst_tail,
int nr_refspec, char **refspec, int all);
#endif