rename           4165 builtin/apply.c 				if (!rename(newpath, path))
rename            801 builtin/branch.c 	int delete = 0, rename = 0, force = 0, list = 0;
rename            843 builtin/branch.c 		OPT_BIT('m', "move", &rename, N_("move/rename a branch and its reflog"), 1),
rename            844 builtin/branch.c 		OPT_BIT('M', NULL, &rename, N_("move/rename a branch, even if target exists"), 2),
rename            886 builtin/branch.c 	if (!delete && !rename && !edit_description && !new_upstream && !unset_upstream && argc == 0)
rename            892 builtin/branch.c 	if (!!delete + !!rename + !!new_upstream +
rename            907 builtin/branch.c 		rename *= 2;
rename            949 builtin/branch.c 	} else if (rename) {
rename            953 builtin/branch.c 			rename_branch(head, argv[0], rename > 1);
rename            955 builtin/branch.c 			rename_branch(argv[0], argv[1], rename > 1);
rename            377 builtin/init-db.c 		if (rename(src, git_dir))
rename            255 builtin/mv.c   			if (rename(src, dst) < 0 && !ignore_errors)
rename            559 builtin/remote.c 	struct rename_info *rename = cb_data;
rename            566 builtin/remote.c 	strbuf_addf(&buf, "refs/remotes/%s/", rename->old);
rename            568 builtin/remote.c 		item = string_list_append(rename->remote_branches, xstrdup(refname));
rename            618 builtin/remote.c 	struct rename_info rename;
rename            624 builtin/remote.c 	rename.old = argv[1];
rename            625 builtin/remote.c 	rename.new = argv[2];
rename            626 builtin/remote.c 	rename.remote_branches = &remote_branches;
rename            628 builtin/remote.c 	oldremote = remote_get(rename.old);
rename            630 builtin/remote.c 		die(_("No such remote: %s"), rename.old);
rename            632 builtin/remote.c 	if (!strcmp(rename.old, rename.new) && oldremote->origin != REMOTE_CONFIG)
rename            635 builtin/remote.c 	newremote = remote_get(rename.new);
rename            637 builtin/remote.c 		die(_("remote %s already exists."), rename.new);
rename            639 builtin/remote.c 	strbuf_addf(&buf, "refs/heads/test:refs/remotes/%s/test", rename.new);
rename            641 builtin/remote.c 		die(_("'%s' is not a valid remote name"), rename.new);
rename            644 builtin/remote.c 	strbuf_addf(&buf, "remote.%s", rename.old);
rename            645 builtin/remote.c 	strbuf_addf(&buf2, "remote.%s", rename.new);
rename            651 builtin/remote.c 	strbuf_addf(&buf, "remote.%s.fetch", rename.new);
rename            654 builtin/remote.c 	strbuf_addf(&old_remote_context, ":refs/remotes/%s/", rename.old);
rename            665 builtin/remote.c 				      strlen(rename.old), rename.new,
rename            666 builtin/remote.c 				      strlen(rename.new));
rename            681 builtin/remote.c 		if (info->remote_name && !strcmp(info->remote_name, rename.old)) {
rename            684 builtin/remote.c 			if (git_config_set(buf.buf, rename.new)) {
rename            697 builtin/remote.c 	for_each_ref(read_remote_branches, &rename);
rename            716 builtin/remote.c 		strbuf_splice(&buf, strlen("refs/remotes/"), strlen(rename.old),
rename            717 builtin/remote.c 				rename.new, strlen(rename.new));
rename            731 builtin/remote.c 		strbuf_splice(&buf, strlen("refs/remotes/"), strlen(rename.old),
rename            732 builtin/remote.c 				rename.new, strlen(rename.new));
rename            735 builtin/remote.c 		strbuf_splice(&buf2, strlen("refs/remotes/"), strlen(rename.old),
rename            736 builtin/remote.c 				rename.new, strlen(rename.new));
rename            305 builtin/repack.c 			if (!failed && rename(fname, fname_old)) {
rename            324 builtin/repack.c 			if (rename(fname_old, fname))
rename            364 builtin/repack.c 				if (rename(fname_old, fname))
rename           2409 fast-import.c  static void file_change_cr(const char *s, struct branch *b, int rename)
rename           2442 fast-import.c  	if (rename)
rename            572 http-push.c    			if (obj_req->rename == 0)
rename             81 http-walker.c  	if (obj_req->req->rename == 0)
rename            505 http-walker.c  	} else if (req->rename < 0) {
rename           1689 http.c         	rename(freq->tmpfile, prevfile);
rename           1833 http.c         	freq->rename =
rename           1836 http.c         	return freq->rename;
rename            215 http.h         	int rename;
rename            502 merge-recursive.c 		struct rename *re;
rename           1118 merge-recursive.c 			struct diff_filespec *rename,
rename           1122 merge-recursive.c 	char *dst_name = rename->path;
rename           1140 merge-recursive.c 		char *add_name = unique_path(o, rename->path, other_branch);
rename           1143 merge-recursive.c 		remove_file(o, 0, rename->path, 0);
rename           1144 merge-recursive.c 		dst_name = unique_path(o, rename->path, cur_branch);
rename           1146 merge-recursive.c 		if (dir_in_way(rename->path, !o->call_depth)) {
rename           1147 merge-recursive.c 			dst_name = unique_path(o, rename->path, cur_branch);
rename           1149 merge-recursive.c 			       rename->path, other_branch, dst_name);
rename           1152 merge-recursive.c 	update_file(o, 0, rename->sha1, rename->mode, dst_name);
rename           1154 merge-recursive.c 		update_stages(rename->path, NULL, rename, add);
rename           1156 merge-recursive.c 		update_stages(rename->path, NULL, add, rename);
rename           1158 merge-recursive.c 	if (dst_name != rename->path)
rename           1276 merge-recursive.c 	const struct rename *sre;
rename           1291 merge-recursive.c 		struct rename *ren1 = NULL, *ren2 = NULL;
rename           1316 merge-recursive.c 			struct rename *tmp;
rename            547 pack-bitmap-write.c 	if (rename(tmp_file, filename))
rename            359 pack-write.c   	if (rename(pack_tmp_name, name_buffer->buf))
rename            365 pack-write.c   	if (rename(idx_tmp_name, name_buffer->buf))
rename           3051 refs.c         	if (rename(git_path(TMP_RENAMED_LOG), path.buf)) {
rename           3131 refs.c         	if (log && rename(git_path("logs/%s", oldrefname), git_path(TMP_RENAMED_LOG)))
rename           3200 refs.c         	if (logmoved && rename(git_path("logs/%s", newrefname), git_path("logs/%s", oldrefname)))
rename           3204 refs.c         	    rename(git_path(TMP_RENAMED_LOG), git_path("logs/%s", oldrefname)))
rename           3532 refs.c         	if (rename(lockpath, git_HEAD) < 0) {
rename             33 server-info.c  	if (rename(tmp, path) < 0)
rename           2982 sha1_file.c    		if (!rename(tmpfile, filename))
rename            283 tempfile.c     	if (rename(tempfile->filename.buf, path)) {
rename            930 transport-helper.c 		rename(buf.buf, data->export_marks);