Move remote parsing into a library file out of builtin-push.
[git/git.git] / remote.h
1 #ifndef REMOTE_H
2 #define REMOTE_H
3
4 struct remote {
5 const char *name;
6
7 const char **uri;
8 int uri_nr;
9
10 const char **push_refspec;
11 int push_refspec_nr;
12
13 const char *receivepack;
14 };
15
16 struct remote *remote_get(const char *name);
17
18 #endif