repo              149 builtin/clone.c static char *get_repo_path(const char *repo, int *is_bundle)
repo              155 builtin/clone.c 	strbuf_addstr(&path, repo);
repo              162 builtin/clone.c static char *guess_dir_name(const char *repo, int is_bundle, int is_bare)
repo              164 builtin/clone.c 	const char *end = repo + strlen(repo), *start, *ptr;
repo              171 builtin/clone.c 	start = strstr(repo, "://");
repo              173 builtin/clone.c 		start = repo;
repo              279 builtin/clone.c 	const char *repo;
repo              285 builtin/clone.c 	repo = read_gitfile(ref_git);
repo              286 builtin/clone.c 	if (!repo)
repo              287 builtin/clone.c 		repo = read_gitfile(mkpath("%s/.git", ref_git));
repo              288 builtin/clone.c 	if (repo) {
repo              290 builtin/clone.c 		ref_git = xstrdup(repo);
repo              293 builtin/clone.c 	if (!repo && is_directory(mkpath("%s/.git/objects", ref_git))) {
repo              815 builtin/clone.c 	const char *repo_name, *repo, *work_tree, *git_dir;
repo              867 builtin/clone.c 		repo = xstrdup(absolute_path(repo_name));
repo              871 builtin/clone.c 		repo = repo_name;
repo              888 builtin/clone.c 	strbuf_addf(&reflog_msg, "clone: from %s", repo);
repo              952 builtin/clone.c 	git_config_set(key.buf, repo);
repo              429 builtin/pull.c static void NORETURN die_no_merge_candidates(const char *repo, const char **refspecs)
repo              441 builtin/pull.c 	} else if (repo && curr_branch && (!remote || strcmp(repo, remote))) {
repo              445 builtin/pull.c 			repo);
repo              487 builtin/pull.c static void parse_repo_refspecs(int argc, const char **argv, const char **repo,
repo              491 builtin/pull.c 		*repo = *argv++;
repo              494 builtin/pull.c 		*repo = NULL;
repo              502 builtin/pull.c static int run_fetch(const char *repo, const char **refspecs)
repo              541 builtin/pull.c 	if (repo) {
repo              542 builtin/pull.c 		argv_array_push(&args, repo);
repo              685 builtin/pull.c static int get_rebase_fork_point(unsigned char *fork_point, const char *repo,
repo              699 builtin/pull.c 		remote_branch = get_tracking_branch(repo, refspec);
repo              701 builtin/pull.c 		remote_branch = get_upstream_branch(repo);
repo              797 builtin/pull.c 	const char *repo, **refspecs;
repo              807 builtin/pull.c 	parse_repo_refspecs(argc, argv, &repo, &refspecs);
repo              836 builtin/pull.c 		if (get_rebase_fork_point(rebase_fork_point, repo, *refspecs))
repo              840 builtin/pull.c 	if (run_fetch(repo, refspecs))
repo              875 builtin/pull.c 		die_no_merge_candidates(repo, refspecs);
repo               75 builtin/push.c static void set_refspecs(const char **refs, int nr, const char *repo)
repo              102 builtin/push.c 				remote = remote_get(repo);
repo              386 builtin/push.c static int do_push(const char *repo, int flags)
repo              389 builtin/push.c 	struct remote *remote = pushremote_get(repo);
repo              394 builtin/push.c 		if (repo)
repo              395 builtin/push.c 			die(_("bad repository '%s'"), repo);
repo              536 builtin/push.c 	const char *repo = NULL;	/* default repository */
repo              539 builtin/push.c 		OPT_STRING( 0 , "repo", &repo, N_("repository"), N_("repository")),
repo              587 builtin/push.c 		repo = argv[0];
repo              588 builtin/push.c 		set_refspecs(argv + 1, argc - 1, repo);
repo              591 builtin/push.c 	rc = do_push(repo, flags);
repo              142 builtin/remote-ext.c static void send_git_request(int stdin_fd, const char *serv, const char *repo,
repo              154 builtin/remote-ext.c 		bufferspace = strlen(serv) + strlen(repo) + strlen(vhost) + 12;
repo              156 builtin/remote-ext.c 		bufferspace = strlen(serv) + strlen(repo) + 6;
repo              164 builtin/remote-ext.c 		serv, repo, 0);
repo               99 http-push.c    static struct repo *repo;
repo              253 http-push.c    	obj_req = new_http_object_request(repo->url, request->obj->sha1);
repo              269 http-push.c    		repo->can_update_info_refs = 0;
repo              280 http-push.c    	request->url = get_remote_object_url(repo->url, hex, 1);
repo              306 http-push.c    	target = find_sha1_pack(request->obj->sha1, repo->packs);
repo              309 http-push.c    		repo->can_update_info_refs = 0;
repo              317 http-push.c    	preq = new_http_pack_request(target, repo->url);
repo              319 http-push.c    		repo->can_update_info_refs = 0;
repo              322 http-push.c    	preq->lst = &repo->packs;
repo              345 http-push.c    		repo->can_update_info_refs = 0;
repo              393 http-push.c    	append_remote_object_url(&buf, repo->url, hex, 0);
repo              396 http-push.c    	append_remote_object_url(&buf, repo->url, hex, 0);
repo              474 http-push.c    	struct remote_lock *lock = repo->locks;
repo              597 http-push.c    			repo->can_update_info_refs = 0;
repo              677 http-push.c    	target = find_sha1_pack(obj->sha1, repo->packs);
repo              708 http-push.c    	switch (http_get_info_packs(repo->url, &repo->packs)) {
repo              851 http-push.c    	url = xstrfmt("%s%s", repo->url, path);
repo              854 http-push.c    	ep = strchr(url + strlen(repo->url) + 1, '/');
repo              939 http-push.c    		lock->next = repo->locks;
repo              940 http-push.c    		repo->locks = lock;
repo              950 http-push.c    	struct remote_lock *prev = repo->locks;
repo              974 http-push.c    	if (repo->locks == lock) {
repo              975 http-push.c    		repo->locks = lock->next;
repo              993 http-push.c    	struct remote_lock *lock = repo->locks;
repo             1092 http-push.c    				const char *url = repo->url;
repo             1093 http-push.c    				if (repo->path)
repo             1094 http-push.c    					url = repo->path;
repo             1095 http-push.c    				if (strncmp(path, url, repo->path_len))
repo             1099 http-push.c    					path += repo->path_len;
repo             1123 http-push.c    	char *url = xstrfmt("%s%s", repo->url, path);
repo             1211 http-push.c    	escaped = xml_entities(repo->url);
repo             1220 http-push.c    	curl_setup_http(slot->curl, repo->url, DAV_PROPFIND,
repo             1251 http-push.c    				      repo->url);
repo             1255 http-push.c    			      repo->url, results.curl_result);
repo             1259 http-push.c    		error("Unable to start PROPFIND request on %s", repo->url);
repo             1428 http-push.c    	if (http_fetch_ref(repo->url, ref) != 0) {
repo             1431 http-push.c    			refname, repo->url);
repo             1440 http-push.c    	if (repo->can_update_info_refs && !has_sha1_file(ref->old_sha1)) {
repo             1468 http-push.c    	if (http_fetch_ref(repo->url, ref) != 0) {
repo             1471 http-push.c    			ls->dentry_name, repo->url);
repo             1540 http-push.c    	char *url = xstrfmt("%s%s", repo->url, path);
repo             1562 http-push.c    	char *url = xstrfmt("%s%s", repo->url, path);
repo             1669 http-push.c    				     remote_ref->name, repo->url, pattern);
repo             1677 http-push.c    	url = xstrfmt("%s%s", repo->url, remote_ref->name);
repo             1735 http-push.c    	repo = xcalloc(1, sizeof(*repo));
repo             1775 http-push.c    		if (!repo->url) {
repo             1777 http-push.c    			str_end_url_with_slash(arg, &repo->url);
repo             1778 http-push.c    			repo->path_len = strlen(repo->url);
repo             1780 http-push.c    				repo->path = strchr(path+2, '/');
repo             1781 http-push.c    				if (repo->path)
repo             1782 http-push.c    					repo->path_len = strlen(repo->path);
repo             1795 http-push.c    	if (!repo->url)
repo             1805 http-push.c    	http_init(NULL, repo->url, 1);
repo             1820 http-push.c    	repo->can_update_info_refs = 0;
repo             1821 http-push.c    	repo->has_info_refs = remote_exists("info/refs");
repo             1822 http-push.c    	repo->has_info_packs = remote_exists("objects/info/packs");
repo             1823 http-push.c    	if (repo->has_info_refs) {
repo             1826 http-push.c    			repo->can_update_info_refs = 1;
repo             1833 http-push.c    	if (repo->has_info_packs)
repo             2003 http-push.c    	if (repo->has_info_refs && new_refs) {
repo             2004 http-push.c    		if (info_ref_lock && repo->can_update_info_refs) {
repo             2016 http-push.c    	free(repo);
repo               23 http-walker.c  	struct alt_base *repo;
repo               56 http-walker.c  	req = new_http_object_request(obj_req->repo->base, obj_req->sha1);
repo               99 http-walker.c  		if (obj_req->repo->next != NULL) {
repo              100 http-walker.c  			obj_req->repo =
repo              101 http-walker.c  				obj_req->repo->next;
repo              157 http-walker.c  	newreq->repo = data->alt;
repo              371 http-walker.c  static int fetch_indices(struct walker *walker, struct alt_base *repo)
repo              375 http-walker.c  	if (repo->got_indices)
repo              379 http-walker.c  		fprintf(stderr, "Getting pack list for %s\n", repo->base);
repo              381 http-walker.c  	switch (http_get_info_packs(repo->base, &repo->packs)) {
repo              384 http-walker.c  		repo->got_indices = 1;
repo              388 http-walker.c  		repo->got_indices = 0;
repo              395 http-walker.c  static int http_fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1)
repo              402 http-walker.c  	if (fetch_indices(walker, repo))
repo              404 http-walker.c  	target = find_sha1_pack(sha1, repo->packs);
repo              415 http-walker.c  	preq = new_http_pack_request(target, repo->base);
repo              418 http-walker.c  	preq->lst = &repo->packs;
repo              449 http-walker.c  static int fetch_object(struct walker *walker, struct alt_base *repo, unsigned char *sha1)