remote            351 archive.c      		int remote)
remote            361 archive.c      	if (remote && !remote_allow_unreachable) {
remote            418 archive.c      	const char *remote = NULL;
remote            450 archive.c      		OPT_STRING(0, "remote", &remote, N_("repo"),
remote            459 archive.c      	if (remote)
remote            506 archive.c      		  int setup_prefix, const char *name_hint, int remote)
remote            521 archive.c      	argc = parse_archive_args(argc, argv, &ar, &args, name_hint, remote);
remote            531 archive.c      	parse_treeish_arg(argv, &args, prefix, remote);
remote             39 archive.h      extern int write_archive(int argc, const char **argv, const char *prefix, int setup_prefix, const char *name_hint, int remote);
remote             11 branch.c       	const char *remote;
remote             15 branch.c       static int find_tracked_branch(struct remote *remote, void *priv)
remote             19 branch.c       	if (!remote_find_tracking(remote, &tracking->spec)) {
remote             22 branch.c       			tracking->remote = remote->name;
remote             51 branch.c       void install_branch_config(int flag, const char *local, const char *origin, const char *remote)
remote             57 branch.c       	if (skip_prefix(remote, "refs/heads/", &shortname)
remote             70 branch.c       	git_config_set(key.buf, remote);
remote             96 branch.c       					  local, remote);
remote            101 branch.c       					  local, remote);
remote            136 branch.c       	install_branch_config(config_flags, new_ref, tracking.remote,
remote            180 branch.c       static int check_tracking_branch(struct remote *remote, void *cb_data)
remote            186 branch.c       	return !remote_find_tracking(remote, &query);
remote             48 branch.h       extern void install_branch_config(int flag, const char *local, const char *origin, const char *remote);
remote           1987 builtin/am.c   static int fast_forward_to(struct tree *head, struct tree *remote, int reset)
remote           1993 builtin/am.c   	if (parse_tree(head) || parse_tree(remote))
remote           2010 builtin/am.c   	init_tree_desc(&t[1], remote->buffer, remote->size);
remote           2062 builtin/am.c   static int clean_index(const unsigned char *head, const unsigned char *remote)
remote           2071 builtin/am.c   	remote_tree = parse_tree_indirect(remote);
remote           2073 builtin/am.c   		return error(_("Could not parse object '%s'."), sha1_to_hex(remote));
remote             27 builtin/archive.c 			       const char *remote, const char *exec,
remote             33 builtin/archive.c 	struct remote *_remote;
remote             35 builtin/archive.c 	_remote = remote_get(remote);
remote             86 builtin/archive.c 	const char *remote = NULL;
remote             90 builtin/archive.c 		OPT_STRING(0, "remote", &remote, N_("repo"),
remote            103 builtin/archive.c 	if (remote)
remote            104 builtin/archive.c 		return run_remote_archiver(argc, argv, remote, exec, output);
remote            863 builtin/checkout.c static int check_tracking_name(struct remote *remote, void *cb_data)
remote            869 builtin/checkout.c 	if (remote_find_tracking(remote, &query) ||
remote            994 builtin/checkout.c 			const char *remote = unique_tracking_name(arg, rev);
remote            995 builtin/checkout.c 			if (remote) {
remote            997 builtin/checkout.c 				arg = remote;
remote            645 builtin/clone.c static void update_head(const struct ref *our, const struct ref *remote,
remote            662 builtin/clone.c 	} else if (remote) {
remote            668 builtin/clone.c 		update_ref(msg, "HEAD", remote->old_sha1,
remote            827 builtin/clone.c 	struct remote *remote;
remote            967 builtin/clone.c 	remote = remote_get(option_origin);
remote            968 builtin/clone.c 	transport = transport_get(remote, remote->url[0]);
remote            971 builtin/clone.c 	path = get_repo_path(remote->url[0], &is_bundle);
remote            336 builtin/fetch.c 			fetch_refspec = transport->remote->fetch;
remote            337 builtin/fetch.c 			fetch_refspec_nr = transport->remote->fetch_refspec_nr;
remote            349 builtin/fetch.c 		struct remote *remote = transport->remote;
remote            352 builtin/fetch.c 		if (remote &&
remote            353 builtin/fetch.c 		    (remote->fetch_refspec_nr ||
remote            355 builtin/fetch.c 		     (has_merge && !strcmp(branch->remote_name, remote->name)))) {
remote            356 builtin/fetch.c 			for (i = 0; i < remote->fetch_refspec_nr; i++) {
remote            357 builtin/fetch.c 				get_fetch_map(remote_refs, &remote->fetch[i], &tail, 0);
remote            358 builtin/fetch.c 				if (remote->fetch[i].dst &&
remote            359 builtin/fetch.c 				    remote->fetch[i].dst[0])
remote            362 builtin/fetch.c 				    !remote->fetch[0].pattern)
remote            373 builtin/fetch.c 			    !strcmp(branch->remote_name, remote->name))
remote            447 builtin/fetch.c 			    const char *remote,
remote            464 builtin/fetch.c 				    REFCOL_WIDTH, remote, pretty_ref);
remote            479 builtin/fetch.c 			    REFCOL_WIDTH, remote, pretty_ref);
remote            490 builtin/fetch.c 			    REFCOL_WIDTH, remote, pretty_ref,
remote            525 builtin/fetch.c 			    REFCOL_WIDTH, remote, pretty_ref,
remote            543 builtin/fetch.c 			    REFCOL_WIDTH, remote, pretty_ref,
remote            559 builtin/fetch.c 			    REFCOL_WIDTH, remote, pretty_ref,
remote            565 builtin/fetch.c 			    REFCOL_WIDTH, remote, pretty_ref,
remote            765 builtin/fetch.c 				transport->remote->name,
remote            858 builtin/fetch.c static struct transport *prepare_transport(struct remote *remote)
remote            861 builtin/fetch.c 	transport = transport_get(remote, NULL);
remote            877 builtin/fetch.c 		gsecondary = prepare_transport(transport->remote);
remote            897 builtin/fetch.c 	int autotags = (transport->remote->fetch_tags == 1);
remote            903 builtin/fetch.c 		if (transport->remote->fetch_tags == 2)
remote            905 builtin/fetch.c 		if (transport->remote->fetch_tags == -1)
remote            946 builtin/fetch.c 			prune_refs(transport->remote->fetch,
remote            947 builtin/fetch.c 				   transport->remote->fetch_refspec_nr,
remote            975 builtin/fetch.c static int get_one_remote_for_fetch(struct remote *remote, void *priv)
remote            978 builtin/fetch.c 	if (!remote->skip_default_update)
remote            979 builtin/fetch.c 		string_list_append(list, remote->name);
remote           1015 builtin/fetch.c 		struct remote *remote;
remote           1018 builtin/fetch.c 		remote = remote_get(name);
remote           1019 builtin/fetch.c 		string_list_append(list, remote->name);
remote           1083 builtin/fetch.c static int fetch_one(struct remote *remote, int argc, const char **argv)
remote           1090 builtin/fetch.c 	if (!remote)
remote           1094 builtin/fetch.c 	gtransport = prepare_transport(remote);
remote           1098 builtin/fetch.c 		if (0 <= gtransport->remote->prune)
remote           1099 builtin/fetch.c 			prune = gtransport->remote->prune;
remote           1138 builtin/fetch.c 	struct remote *remote;
remote           1188 builtin/fetch.c 		remote = remote_get(NULL);
remote           1189 builtin/fetch.c 		result = fetch_one(remote, argc, argv);
remote           1206 builtin/fetch.c 			remote = remote_get(argv[0]);
remote           1207 builtin/fetch.c 			result = fetch_one(remote, argc-1, argv+1);
remote             42 builtin/ls-remote.c 	struct remote *remote;
remote            103 builtin/ls-remote.c 	remote = remote_get(dest);
remote            104 builtin/ls-remote.c 	if (!remote) {
remote            109 builtin/ls-remote.c 	if (!remote->url_nr)
remote            113 builtin/ls-remote.c 		printf("%s\n", *remote->url);
remote            117 builtin/ls-remote.c 	transport = transport_get(remote, NULL);
remote            126 builtin/ls-remote.c 		fprintf(stderr, "From %s\n", *remote->url);
remote            431 builtin/merge.c static void merge_name(const char *remote, struct strbuf *msg)
remote            441 builtin/merge.c 	strbuf_branchname(&bname, remote);
remote            442 builtin/merge.c 	remote = bname.buf;
remote            445 builtin/merge.c 	remote_head = get_merge_parent(remote);
remote            447 builtin/merge.c 		die(_("'%s' does not point to a commit"), remote);
remote            449 builtin/merge.c 	if (dwim_ref(remote, strlen(remote), branch_head, &found_ref) > 0) {
remote            452 builtin/merge.c 				    sha1_to_hex(branch_head), remote);
remote            457 builtin/merge.c 				    sha1_to_hex(branch_head), remote);
remote            462 builtin/merge.c 				    sha1_to_hex(branch_head), remote);
remote            468 builtin/merge.c 	for (len = 0, ptr = remote + strlen(remote);
remote            469 builtin/merge.c 	     remote < ptr && ptr[-1] == '^';
remote            476 builtin/merge.c 		ptr = strrchr(remote, '~');
remote            495 builtin/merge.c 		strbuf_addf(&truname, "refs/heads/%s", remote);
remote            516 builtin/merge.c 				    remote);
remote            522 builtin/merge.c 		sha1_to_hex(remote_head->object.sha1), remote);
remote            396 builtin/pull.c static int get_only_remote(struct remote *remote, void *cb_data)
remote            403 builtin/pull.c 	*remote_name = remote->name;
remote            432 builtin/pull.c 	const char *remote = curr_branch ? curr_branch->remote_name : NULL;
remote            441 builtin/pull.c 	} else if (repo && curr_branch && (!remote || strcmp(repo, remote))) {
remote            620 builtin/pull.c static const char *get_upstream_branch(const char *remote)
remote            622 builtin/pull.c 	struct remote *rm;
remote            626 builtin/pull.c 	rm = remote_get(remote);
remote            649 builtin/pull.c static const char *get_tracking_branch(const char *remote, const char *refspec)
remote            669 builtin/pull.c 		if (!strcmp(remote, "."))
remote            672 builtin/pull.c 			merge_branch = mkpath("refs/remotes/%s/%s", remote, spec_src);
remote             39 builtin/push.c 			       struct remote *remote, struct ref *local_refs)
remote             47 builtin/push.c 	if (remote->push) {
remote             51 builtin/push.c 		if (!query_refspecs(remote->push, remote->push_refspec_nr, &query) &&
remote             77 builtin/push.c 	struct remote *remote = NULL;
remote            100 builtin/push.c 			if (!remote) {
remote            102 builtin/push.c 				remote = remote_get(repo);
remote            105 builtin/push.c 			ref = map_refspec(ref, remote, local_refs);
remote            111 builtin/push.c static int push_url_of_remote(struct remote *remote, const char ***url_p)
remote            113 builtin/push.c 	if (remote->pushurl_nr) {
remote            114 builtin/push.c 		*url_p = remote->pushurl;
remote            115 builtin/push.c 		return remote->pushurl_nr;
remote            117 builtin/push.c 	*url_p = remote->url;
remote            118 builtin/push.c 	return remote->url_nr;
remote            121 builtin/push.c static NORETURN int die_push_simple(struct branch *branch, struct remote *remote) {
remote            153 builtin/push.c 	    remote->name, short_upstream,
remote            154 builtin/push.c 	    remote->name, branch->name, advice_maybe);
remote            164 builtin/push.c static void setup_push_upstream(struct remote *remote, struct branch *branch,
remote            170 builtin/push.c 		die(_(message_detached_head_die), remote->name);
remote            177 builtin/push.c 		    remote->name,
remote            186 builtin/push.c 		    remote->name, branch->name);
remote            191 builtin/push.c 			die_push_simple(branch, remote);
remote            198 builtin/push.c static void setup_push_current(struct remote *remote, struct branch *branch)
remote            201 builtin/push.c 		die(_(message_detached_head_die), remote->name);
remote            236 builtin/push.c static int is_workflow_triangular(struct remote *remote)
remote            238 builtin/push.c 	struct remote *fetch_remote = remote_get(NULL);
remote            239 builtin/push.c 	return (fetch_remote && fetch_remote != remote);
remote            242 builtin/push.c static void setup_default_push_refspecs(struct remote *remote)
remote            245 builtin/push.c 	int triangular = is_workflow_triangular(remote);
remote            259 builtin/push.c 			setup_push_current(remote, branch);
remote            261 builtin/push.c 			setup_push_upstream(remote, branch, triangular, 1);
remote            265 builtin/push.c 		setup_push_upstream(remote, branch, triangular, 0);
remote            269 builtin/push.c 		setup_push_current(remote, branch);
remote            389 builtin/push.c 	struct remote *remote = pushremote_get(repo);
remote            393 builtin/push.c 	if (!remote) {
remote            406 builtin/push.c 	if (remote->mirror)
remote            427 builtin/push.c 		if (remote->push_refspec_nr) {
remote            428 builtin/push.c 			refspec = remote->push_refspec;
remote            429 builtin/push.c 			refspec_nr = remote->push_refspec_nr;
remote            431 builtin/push.c 			setup_default_push_refspecs(remote);
remote            434 builtin/push.c 	url_nr = push_url_of_remote(remote, &url);
remote            438 builtin/push.c 				transport_get(remote, url[i]);
remote            444 builtin/push.c 			transport_get(remote, NULL);
remote            147 builtin/remote.c 	struct remote *remote;
remote            182 builtin/remote.c 	remote = remote_get(name);
remote            183 builtin/remote.c 	if (remote && (remote->url_nr > 1 ||
remote            184 builtin/remote.c 			(strcmp(name, remote->url[0]) &&
remote            185 builtin/remote.c 				strcmp(url, remote->url[0])) ||
remote            186 builtin/remote.c 			remote->fetch_refspec_nr))
remote            322 builtin/remote.c 	struct remote *remote;
remote            333 builtin/remote.c 	for (i = 0; i < states->remote->fetch_refspec_nr; i++)
remote            334 builtin/remote.c 		if (get_fetch_map(remote_refs, states->remote->fetch + i, &tail, 1))
remote            336 builtin/remote.c 				states->remote->fetch_refspec[i]);
remote            347 builtin/remote.c 	stale_refs = get_stale_heads(states->remote->fetch,
remote            348 builtin/remote.c 				     states->remote->fetch_refspec_nr, fetch_map);
remote            380 builtin/remote.c 	struct remote *remote = states->remote;
remote            382 builtin/remote.c 	if (remote->mirror)
remote            388 builtin/remote.c 	match_push_refs(local_refs, &push_map, remote->push_refspec_nr,
remote            389 builtin/remote.c 			remote->push_refspec, MATCH_REFS_NONE);
remote            427 builtin/remote.c 	struct remote *remote = states->remote;
remote            431 builtin/remote.c 	if (remote->mirror)
remote            435 builtin/remote.c 	if (!remote->push_refspec_nr) {
remote            441 builtin/remote.c 	for (i = 0; i < remote->push_refspec_nr; i++) {
remote            442 builtin/remote.c 		struct refspec *spec = remote->push + i;
remote            482 builtin/remote.c 	struct remote *remote;
remote            486 builtin/remote.c 	struct remote *to_delete;
remote            490 builtin/remote.c static int add_known_remote(struct remote *remote, void *cb_data)
remote            495 builtin/remote.c 	if (!strcmp(all->to_delete->name, remote->name))
remote            499 builtin/remote.c 	r->remote = remote;
remote            506 builtin/remote.c 	struct remote *remote;
remote            520 builtin/remote.c 	if (remote_find_tracking(branches->remote, &refspec))
remote            527 builtin/remote.c 		if (!remote_find_tracking(kr->remote, &refspec))
remote            580 builtin/remote.c static int migrate_file(struct remote *remote)
remote            585 builtin/remote.c 	strbuf_addf(&buf, "remote.%s.url", remote->name);
remote            586 builtin/remote.c 	for (i = 0; i < remote->url_nr; i++)
remote            587 builtin/remote.c 		if (git_config_set_multivar(buf.buf, remote->url[i], "^$", 0))
remote            589 builtin/remote.c 					remote->url[i], buf.buf);
remote            591 builtin/remote.c 	strbuf_addf(&buf, "remote.%s.push", remote->name);
remote            592 builtin/remote.c 	for (i = 0; i < remote->push_refspec_nr; i++)
remote            593 builtin/remote.c 		if (git_config_set_multivar(buf.buf, remote->push_refspec[i], "^$", 0))
remote            595 builtin/remote.c 					remote->push_refspec[i], buf.buf);
remote            597 builtin/remote.c 	strbuf_addf(&buf, "remote.%s.fetch", remote->name);
remote            598 builtin/remote.c 	for (i = 0; i < remote->fetch_refspec_nr; i++)
remote            599 builtin/remote.c 		if (git_config_set_multivar(buf.buf, remote->fetch_refspec[i], "^$", 0))
remote            601 builtin/remote.c 					remote->fetch_refspec[i], buf.buf);
remote            602 builtin/remote.c 	if (remote->origin == REMOTE_REMOTES)
remote            603 builtin/remote.c 		unlink_or_warn(git_path("remotes/%s", remote->name));
remote            604 builtin/remote.c 	else if (remote->origin == REMOTE_BRANCHES)
remote            605 builtin/remote.c 		unlink_or_warn(git_path("branches/%s", remote->name));
remote            614 builtin/remote.c 	struct remote *oldremote, *newremote;
remote            751 builtin/remote.c 	struct remote *remote;
remote            767 builtin/remote.c 	remote = remote_get(argv[1]);
remote            768 builtin/remote.c 	if (!remote)
remote            771 builtin/remote.c 	known_remotes.to_delete = remote;
remote            778 builtin/remote.c 		if (info->remote_name && !strcmp(info->remote_name, remote->name)) {
remote            797 builtin/remote.c 	cb_data.remote = remote;
remote            819 builtin/remote.c 		strbuf_addf(&buf, "remote.%s", remote->name);
remote            854 builtin/remote.c 	if (!remote_find_tracking(states->remote, &refspec))
remote            867 builtin/remote.c 	states->remote = remote_get(name);
remote            868 builtin/remote.c 	if (!states->remote)
remote            874 builtin/remote.c 		transport = transport_get(states->remote, states->remote->url_nr > 0 ?
remote            875 builtin/remote.c 			states->remote->url[0] : NULL);
remote            923 builtin/remote.c 			arg = states->remote->name;
remote            948 builtin/remote.c 	    strcmp(states->remote->name, branch_info->remote_name))
remote           1066 builtin/remote.c static int get_one_entry(struct remote *remote, void *priv)
remote           1073 builtin/remote.c 	if (remote->url_nr > 0) {
remote           1074 builtin/remote.c 		strbuf_addf(&url_buf, "%s (fetch)", remote->url[0]);
remote           1075 builtin/remote.c 		string_list_append(list, remote->name)->util =
remote           1078 builtin/remote.c 		string_list_append(list, remote->name)->util = NULL;
remote           1079 builtin/remote.c 	if (remote->pushurl_nr) {
remote           1080 builtin/remote.c 		url = remote->pushurl;
remote           1081 builtin/remote.c 		url_nr = remote->pushurl_nr;
remote           1083 builtin/remote.c 		url = remote->url;
remote           1084 builtin/remote.c 		url_nr = remote->url_nr;
remote           1089 builtin/remote.c 		string_list_append(list, remote->name)->util =
remote           1156 builtin/remote.c 		printf_ln(_("  Fetch URL: %s"), states.remote->url_nr > 0 ?
remote           1157 builtin/remote.c 		       states.remote->url[0] : _("(no URL)"));
remote           1158 builtin/remote.c 		if (states.remote->pushurl_nr) {
remote           1159 builtin/remote.c 			url = states.remote->pushurl;
remote           1160 builtin/remote.c 			url_nr = states.remote->pushurl_nr;
remote           1162 builtin/remote.c 			url = states.remote->url;
remote           1163 builtin/remote.c 			url_nr = states.remote->url_nr;
remote           1207 builtin/remote.c 		if (states.remote->mirror)
remote           1286 builtin/remote.c static int prune_remote(const char *remote, int dry_run)
remote           1297 builtin/remote.c 	get_remote_ref_states(remote, &states, GET_REF_STATES);
remote           1304 builtin/remote.c 	printf_ln(_("Pruning %s"), remote);
remote           1306 builtin/remote.c 		  states.remote->url_nr
remote           1307 builtin/remote.c 		  ? states.remote->url[0]
remote           1404 builtin/remote.c static int remove_all_fetch_refspecs(const char *remote, const char *key)
remote           1409 builtin/remote.c static int add_branches(struct remote *remote, const char **branches,
remote           1412 builtin/remote.c 	const char *remotename = remote->name;
remote           1413 builtin/remote.c 	int mirror = remote->mirror;
remote           1430 builtin/remote.c 	struct remote *remote;
remote           1436 builtin/remote.c 	remote = remote_get(remotename);
remote           1442 builtin/remote.c 	if (add_branches(remote, branches, key.buf)) {
remote           1477 builtin/remote.c 	struct remote *remote;
remote           1510 builtin/remote.c 	remote = remote_get(remotename);
remote           1514 builtin/remote.c 		urlset = remote->pushurl;
remote           1515 builtin/remote.c 		urlset_nr = remote->pushurl_nr;
remote           1518 builtin/remote.c 		urlset = remote->url;
remote           1519 builtin/remote.c 		urlset_nr = remote->url_nr;
remote            130 builtin/send-pack.c 	struct remote *remote = NULL;
remote            233 builtin/send-pack.c 		remote = remote_get(remote_name);
remote            234 builtin/send-pack.c 		if (!remote_has_url(remote, dest)) {
remote            272 builtin/send-pack.c 		apply_push_cas(&cas, remote, remote_refs);
remote            290 builtin/send-pack.c 	if (!args.dry_run && remote) {
remote            293 builtin/send-pack.c 			transport_update_tracking_ref(remote, ref, args.verbose);
remote            122 contrib/examples/builtin-fetch--tool.c 			     const char *head, const char *remote,
remote            160 contrib/examples/builtin-fetch--tool.c 	remote_len = strlen(remote);
remote            161 contrib/examples/builtin-fetch--tool.c 	for (i = remote_len - 1; remote[i] == '/' && 0 <= i; i--)
remote            164 contrib/examples/builtin-fetch--tool.c 	if (4 < i && !strncmp(".git", remote + i - 3, 4))
remote            173 contrib/examples/builtin-fetch--tool.c 	note_len += sprintf(note + note_len, "%.*s", remote_len, remote);
remote            242 contrib/examples/builtin-fetch--tool.c 			      const char *remote,
remote            267 contrib/examples/builtin-fetch--tool.c 			die("Fetch failure: %s", remote);
remote            283 contrib/examples/builtin-fetch--tool.c 					 buffer, remote, cp, remote_nick,
remote            335 contrib/examples/builtin-fetch--tool.c 	const char *remote = *refs++;
remote            340 contrib/examples/builtin-fetch--tool.c 			remote);
remote            283 fetch-pack.c   		unsigned char *remote = refs->old_sha1;
remote            297 fetch-pack.c   		if (((o = lookup_object(remote)) != NULL) &&
remote            302 fetch-pack.c   		remote_hex = sha1_to_hex(remote);
remote            649 fetch-pack.c   		const unsigned char *remote = ref->old_sha1;
remote            652 fetch-pack.c   		o = lookup_object(remote);
remote            658 fetch-pack.c   				"want %s (%s)\n", sha1_to_hex(remote),
remote            665 fetch-pack.c   			"already have %s (%s)\n", sha1_to_hex(remote),
remote            437 help.c         	const char *remote;
remote            440 help.c         	if (skip_prefix(refname, "refs/remotes/", &remote) &&
remote            442 help.c         		string_list_append(cb->similar_refs, remote);
remote           1591 http-push.c    static int verify_merge_base(unsigned char *head_sha1, struct ref *remote)
remote           1594 http-push.c    	struct commit *branch = lookup_commit_or_die(remote->old_sha1, remote->name);
remote            485 http.c         void http_init(struct remote *remote, const char *url, int proactive_auth)
remote            509 http.c         	if (remote && remote->http_proxy)
remote            510 http.c         		curl_http_proxy = xstrdup(remote->http_proxy);
remote            105 http.h         extern void http_init(struct remote *remote, const char *url,
remote             48 merge.c        			  const unsigned char *remote,
remote             84 merge.c        	trees[nr_trees] = parse_tree_indirect(remote);
remote             15 notes-merge.c  	unsigned char obj[20], base[20], local[20], remote[20];
remote            117 notes-merge.c  						 const unsigned char *remote,
remote            125 notes-merge.c  	       sha1_to_hex(base), sha1_to_hex(remote));
remote            131 notes-merge.c  	diff_tree_sha1(base, remote, "", &opt);
remote            154 notes-merge.c  				assert(is_null_sha1(mp->remote));
remote            155 notes-merge.c  				hashcpy(mp->remote, p->two->sha1);
remote            165 notes-merge.c  			hashcpy(mp->remote, p->two->sha1);
remote            170 notes-merge.c  		       sha1_to_hex(mp->remote));
remote            347 notes-merge.c  	mmfile_t base, local, remote;
remote            352 notes-merge.c  	read_mmblob(&remote, p->remote);
remote            355 notes-merge.c  			  &local, o->local_ref, &remote, o->remote_ref, NULL);
remote            359 notes-merge.c  	free(remote.ptr);
remote            380 notes-merge.c  	       sha1_to_hex(p->local), sha1_to_hex(p->remote));
remote            393 notes-merge.c  		assert(!is_null_sha1(p->remote));
remote            399 notes-merge.c  		write_note_to_worktree(p->obj, p->remote);
remote            400 notes-merge.c  	} else if (is_null_sha1(p->remote)) {
remote            415 notes-merge.c  		assert(!is_null_sha1(p->remote));
remote            449 notes-merge.c  		if (add_note(t, p->obj, p->remote, combine_notes_overwrite))
remote            456 notes-merge.c  		if (add_note(t, p->obj, p->remote, combine_notes_concatenate))
remote            464 notes-merge.c  		if (add_note(t, p->obj, p->remote, combine_notes_cat_sort_uniq))
remote            483 notes-merge.c  		       sha1_to_hex(p->local), sha1_to_hex(p->remote));
remote            485 notes-merge.c  		if (!hashcmp(p->base, p->remote)) {
remote            488 notes-merge.c  		} else if (!hashcmp(p->local, p->remote)) {
remote            495 notes-merge.c  			if (add_note(t, p->obj, p->remote,
remote            511 notes-merge.c  			    const unsigned char *remote, struct notes_tree *t)
remote            518 notes-merge.c  	       sha1_to_hex(remote));
remote            520 notes-merge.c  	changes = diff_tree_remote(o, base, remote, &num_changes);
remote            540 notes-merge.c  	struct commit *local, *remote;
remote            571 notes-merge.c  			remote = NULL;
remote            576 notes-merge.c  	} else if (!(remote = lookup_commit_reference(remote_sha1))) {
remote            582 notes-merge.c  	if (!local && !remote)
remote            590 notes-merge.c  	if (!remote) {
remote            595 notes-merge.c  	assert(local && remote);
remote            598 notes-merge.c  	bases = get_merge_bases(local, remote);
remote            621 notes-merge.c  			"merge-base %.7s\n", sha1_to_hex(remote->object.sha1),
remote            625 notes-merge.c  	if (!hashcmp(remote->object.sha1, base_sha1)) {
remote            636 notes-merge.c  		hashcpy(result_sha1, remote->object.sha1);
remote            641 notes-merge.c  				  remote->tree->object.sha1, local_tree);
remote            646 notes-merge.c  		commit_list_insert(remote, &parents); /* LIFO order */
remote             16 remote-curl.c  static struct remote *remote;
remote            983 remote-curl.c  	remote = remote_get(argv[1]);
remote            988 remote-curl.c  		end_url_with_slash(&url, remote->url[0]);
remote            991 remote-curl.c  	http_init(remote, url.buf, 0);
remote            292 remote-testsvn.c 	static struct remote *remote;
remote            302 remote-testsvn.c 	remote = remote_get(argv[1]);
remote            303 remote-testsvn.c 	url_in = (argc == 3) ? argv[2] : remote->url[0];
remote            314 remote-testsvn.c 	strbuf_addf(&private_ref_sb, "refs/svn/%s/master", remote->name);
remote            317 remote-testsvn.c 	strbuf_addf(&notes_ref_sb, "refs/notes/%s/revs", remote->name);
remote            321 remote-testsvn.c 		get_git_dir(), remote->name);
remote             42 remote.c       static struct remote **remotes;
remote             60 remote.c       static int valid_remote(const struct remote *remote)
remote             62 remote.c       	return (!!remote->url) || (!!remote->foreign_vcs);
remote             96 remote.c       static void add_push_refspec(struct remote *remote, const char *ref)
remote             98 remote.c       	ALLOC_GROW(remote->push_refspec,
remote             99 remote.c       		   remote->push_refspec_nr + 1,
remote            100 remote.c       		   remote->push_refspec_alloc);
remote            101 remote.c       	remote->push_refspec[remote->push_refspec_nr++] = ref;
remote            104 remote.c       static void add_fetch_refspec(struct remote *remote, const char *ref)
remote            106 remote.c       	ALLOC_GROW(remote->fetch_refspec,
remote            107 remote.c       		   remote->fetch_refspec_nr + 1,
remote            108 remote.c       		   remote->fetch_refspec_alloc);
remote            109 remote.c       	remote->fetch_refspec[remote->fetch_refspec_nr++] = ref;
remote            112 remote.c       static void add_url(struct remote *remote, const char *url)
remote            114 remote.c       	ALLOC_GROW(remote->url, remote->url_nr + 1, remote->url_alloc);
remote            115 remote.c       	remote->url[remote->url_nr++] = url;
remote            118 remote.c       static void add_pushurl(struct remote *remote, const char *pushurl)
remote            120 remote.c       	ALLOC_GROW(remote->pushurl, remote->pushurl_nr + 1, remote->pushurl_alloc);
remote            121 remote.c       	remote->pushurl[remote->pushurl_nr++] = pushurl;
remote            124 remote.c       static void add_pushurl_alias(struct remote *remote, const char *url)
remote            128 remote.c       		add_pushurl(remote, pushurl);
remote            131 remote.c       static void add_url_alias(struct remote *remote, const char *url)
remote            133 remote.c       	add_url(remote, alias_url(url, &rewrites));
remote            134 remote.c       	add_pushurl_alias(remote, url);
remote            142 remote.c       static int remotes_hash_cmp(const struct remote *a, const struct remote *b, const struct remotes_hash_key *key)
remote            156 remote.c       static struct remote *make_remote(const char *name, int len)
remote            158 remote.c       	struct remote *ret, *replaced;
remote            173 remote.c       	ret = xcalloc(1, sizeof(struct remote));
remote            251 remote.c       static void read_remotes_file(struct remote *remote)
remote            253 remote.c       	FILE *f = fopen(git_path("remotes/%s", remote->name), "r");
remote            257 remote.c       	remote->origin = REMOTE_REMOTES;
remote            285 remote.c       			add_url_alias(remote, xstrdup(s));
remote            288 remote.c       			add_push_refspec(remote, xstrdup(s));
remote            291 remote.c       			add_fetch_refspec(remote, xstrdup(s));
remote            298 remote.c       static void read_branches_file(struct remote *remote)
remote            303 remote.c       	FILE *f = fopen(git_path("branches/%.*s", n, remote->name), "r");
remote            317 remote.c       	remote->origin = REMOTE_BRANCHES;
remote            337 remote.c       	strbuf_addf(&branch, ":refs/heads/%s", remote->name);
remote            338 remote.c       	add_url_alias(remote, p);
remote            339 remote.c       	add_fetch_refspec(remote, strbuf_detach(&branch, NULL));
remote            350 remote.c       	add_push_refspec(remote, strbuf_detach(&branch, NULL));
remote            351 remote.c       	remote->fetch_tags = 1; /* always auto-follow */
remote            358 remote.c       	struct remote *remote;
remote            413 remote.c       	remote = make_remote(name, subkey - name);
remote            414 remote.c       	remote->origin = REMOTE_CONFIG;
remote            416 remote.c       		remote->mirror = git_config_bool(key, value);
remote            418 remote.c       		remote->skip_default_update = git_config_bool(key, value);
remote            420 remote.c       		remote->skip_default_update = git_config_bool(key, value);
remote            422 remote.c       		remote->prune = git_config_bool(key, value);
remote            427 remote.c       		add_url(remote, v);
remote            432 remote.c       		add_pushurl(remote, v);
remote            437 remote.c       		add_push_refspec(remote, v);
remote            442 remote.c       		add_fetch_refspec(remote, v);
remote            447 remote.c       		if (!remote->receivepack)
remote            448 remote.c       			remote->receivepack = v;
remote            455 remote.c       		if (!remote->uploadpack)
remote            456 remote.c       			remote->uploadpack = v;
remote            461 remote.c       			remote->fetch_tags = -1;
remote            463 remote.c       			remote->fetch_tags = 2;
remote            465 remote.c       		return git_config_string((const char **)&remote->http_proxy,
remote            468 remote.c       		return git_config_string(&remote->foreign_vcs, key, value);
remote            715 remote.c       static struct remote *remote_get_1(const char *name,
remote            718 remote.c       	struct remote *ret;
remote            744 remote.c       struct remote *remote_get(const char *name)
remote            749 remote.c       struct remote *pushremote_get(const char *name)
remote            773 remote.c       		struct remote *r = remotes[i];
remote            849 remote.c       int remote_has_url(struct remote *remote, const char *url)
remote            852 remote.c       	for (i = 0; i < remote->url_nr; i++) {
remote            853 remote.c       		if (!strcmp(remote->url[i], url))
remote            958 remote.c       int remote_find_tracking(struct remote *remote, struct refspec *refspec)
remote            960 remote.c       	return query_refspecs(remote->fetch, remote->fetch_refspec_nr, refspec);
remote           1646 remote.c       	struct remote *remote;
remote           1664 remote.c       	remote = remote_get(ret->remote_name);
remote           1670 remote.c       		if (!remote_find_tracking(remote, ret->merge[i]) ||
remote           1747 remote.c       static const char *tracking_for_push_dest(struct remote *remote,
remote           1753 remote.c       	ret = apply_refspecs(remote->fetch, remote->fetch_refspec_nr, refname);
remote           1757 remote.c       				 refname, remote->name);
remote           1763 remote.c       	struct remote *remote;
remote           1768 remote.c       	remote = remote_get(pushremote_for_branch(branch, NULL));
remote           1769 remote.c       	if (!remote)
remote           1774 remote.c       	if (remote->push_refspec_nr) {
remote           1778 remote.c       		dst = apply_refspecs(remote->push, remote->push_refspec_nr,
remote           1783 remote.c       					 remote->name, branch->name);
remote           1785 remote.c       		ret = tracking_for_push_dest(remote, dst, err);
remote           1790 remote.c       	if (remote->mirror)
remote           1791 remote.c       		return tracking_for_push_dest(remote, branch->refname, err);
remote           1799 remote.c       		return tracking_for_push_dest(remote, branch->refname, err);
remote           1812 remote.c       			cur = tracking_for_push_dest(remote, branch->refname, err);
remote           2371 remote.c       static int remote_tracking(struct remote *remote, const char *refname,
remote           2376 remote.c       	dst = apply_refspecs(remote->fetch, remote->fetch_refspec_nr, refname);
remote           2385 remote.c       		      struct remote *remote,
remote           2398 remote.c       		else if (remote_tracking(remote, ref->name, ref->old_sha1_expect))
remote           2408 remote.c       	if (remote_tracking(remote, ref->name, ref->old_sha1_expect))
remote           2413 remote.c       		    struct remote *remote,
remote           2418 remote.c       		apply_cas(cas, remote, ref);
remote             59 remote.h       struct remote *remote_get(const char *name);
remote             60 remote.h       struct remote *pushremote_get(const char *name);
remote             63 remote.h       typedef int each_remote_fn(struct remote *remote, void *priv);
remote             66 remote.h       int remote_has_url(struct remote *remote, const char *url);
remote            199 remote.h       int remote_find_tracking(struct remote *remote, struct refspec *refspec);
remote            290 remote.h       void apply_push_cas(struct push_cas_option *, struct remote *, struct ref *);
remote            122 transport-helper.c 	argv_array_push(&helper->args, transport->remote->name);
remote            185 transport.c    				localname + 11, transport->remote->name,
remote            190 transport.c    				transport->remote->name);
remote            594 transport.c    void transport_update_tracking_ref(struct remote *remote, struct ref *ref, int verbose)
remote            604 transport.c    	if (!remote_find_tracking(remote, &rs)) {
remote            788 transport.c    		const char *remote = strrchr(heads[i], ':');
remote            794 transport.c    		if (remote == local && remote[1] == '\0')
remote            797 transport.c    		remote = remote ? (remote + 1) : local;
remote            798 transport.c    		if (check_refname_format(remote,
remote            954 transport.c    struct transport *transport_get(struct remote *remote, const char *url)
remote            961 transport.c    	if (!remote)
remote            965 transport.c    	ret->remote = remote;
remote            966 transport.c    	helper = remote->foreign_vcs;
remote            968 transport.c    	if (!url && remote->url)
remote            969 transport.c    		url = remote->url[0];
remote           1030 transport.c    		if (remote->uploadpack)
remote           1031 transport.c    			ret->smart_options->uploadpack = remote->uploadpack;
remote           1033 transport.c    		if (remote->receivepack)
remote           1034 transport.c    			ret->smart_options->receivepack = remote->receivepack;
remote           1117 transport.c    	argv[1] = transport->remote->name;
remote           1207 transport.c    				       transport->remote, remote_refs);
remote           1222 transport.c    					    transport->remote->name))
remote           1234 transport.c    					    transport->remote->name, &needs_pushing))
remote           1253 transport.c    				transport_update_tracking_ref(transport->remote, ref, verbose);
remote           1397 transport.c    	struct remote *remote;
remote           1416 transport.c    	remote = remote_get(other);
remote           1417 transport.c    	transport = transport_get(remote, other);
remote             22 transport.h    	struct remote *remote;
remote            134 transport.h    struct transport *transport_get(struct remote *, const char *);
remote            221 transport.h    void transport_update_tracking_ref(struct remote *remote, struct ref *ref, int verbose);
remote           1604 unpack-trees.c 	const struct cache_entry *remote = stages[o->head_idx + 1];
remote           1631 unpack-trees.c 	if (remote == o->df_conflict_entry) {
remote           1633 unpack-trees.c 		remote = NULL;
remote           1640 unpack-trees.c 	if (!same(remote, head)) {
remote           1645 unpack-trees.c 			if (same(stages[i], remote)) {
remote           1657 unpack-trees.c 	if (remote && !df_conflict_head && head_match && !remote_match) {
remote           1658 unpack-trees.c 		if (index && !same(index, remote) && !same(index, head))
remote           1660 unpack-trees.c 		return merged_entry(remote, index, o);
remote           1671 unpack-trees.c 		if (same(head, remote))
remote           1679 unpack-trees.c 	if (!head && !remote && any_anc_missing)
remote           1688 unpack-trees.c 		int remote_deleted = !remote;
remote           1695 unpack-trees.c 		else if (remote)
remote           1696 unpack-trees.c 			ce = remote;
remote           1711 unpack-trees.c 		    (head_deleted && remote && remote_match) ||
remote           1724 unpack-trees.c 		if (no_anc_exists && head && remote && same(head, remote))
remote           1759 unpack-trees.c 	if (remote) { count += keep_entry(remote, o); }