mirror of
https://github.com/git/git
synced 2024-07-05 00:58:49 +00:00
5751f49010
The new parser is different from the one in builtin-push in two ways: the default is to use the current branch's remote, if there is one, before "origin"; and config is used in preference to remotes. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
19 lines
238 B
C
19 lines
238 B
C
#ifndef REMOTE_H
|
|
#define REMOTE_H
|
|
|
|
struct remote {
|
|
const char *name;
|
|
|
|
const char **uri;
|
|
int uri_nr;
|
|
|
|
const char **push_refspec;
|
|
int push_refspec_nr;
|
|
|
|
const char *receivepack;
|
|
};
|
|
|
|
struct remote *remote_get(const char *name);
|
|
|
|
#endif
|